By default Ambari only serves up gzip encoded resources. This is of course the right thing to do. However, sometimes the realities of a corportate network mean old proxies that do odd things. This will stop Ambari from working, and frankly makes it look really weird (just like any SPA without its styles and scripts).
To enable Ambari to host out plain encoded versions as well, just run:
on your ambari-server. This will uncompress the gzip files to generate plain text encoded versions of them which Ambari’s spring content negotiation will then serve out in the absence of gzip in the Accept-Encoding header. Problem solved.comments powered by Disqus
This talk was give at CloudBurst 2014 in Stockholm, Sweden.
I promise to put some more info up here later!
Many thanks to the organisers, speakers and all the sponsors of NoSQL Matters Dublin.more…
- See the archive for more posts