Reply
Highlighted
Contributor
Posts: 31
Registered: ‎06-26-2015
Accepted Solution

Hue Load-balacing File access error

[ Edited ]

Hi.

 

I setup Hue load-balancing following instructions on 

http://www.cloudera.com/content/www/en-us/documentation/enterprise/latest/topics/cdh_hag_hue_config....

 

So i have nginx running and everything seems working fine.

However when I open a file from File Browswer (http://hueserver:8888/filebrowser/view/filepath)

the page gets redirected to http://hue/filebrowswer/view/filepath, and shows page not found error

 

i think the unexpected "hue" hostname comes from the upstream name on nginx configuration.

 

Anyone has any idea how to fix this?

 

Thanks 

Ben

Contributor
Posts: 31
Registered: ‎06-26-2015

Re: Hue Load-balacing File access error

got it fixed by adding

 

 

proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;

 

 

to location /{ }

 

other workaround is to upgrade to cloudera 5.5 (hue 3.9)

Posts: 1,047
Kudos: 129
Solutions: 62
Registered: ‎04-06-2015

Re: Hue Load-balacing File access error

Thank you for sharing the solution ben123. :)



Cy Jervis, Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum