- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hue Load-balacing File access error
- Labels:
-
Cloudera Hue
-
Cloudera Manager
Created on ‎11-05-2015 03:58 PM - edited ‎09-16-2022 02:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
I setup Hue load-balancing following instructions on
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
Created ‎12-01-2015 02:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
Created ‎12-01-2015 02:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
Created ‎12-02-2015 06:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for sharing the solution ben123. 🙂
Cy Jervis, Manager, Community Program
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.
