我正在尝试使用 Hue 作为 HDFS 的文件浏览器。为此,我克隆了hue存储库并使用README.md中给出的以下命令构建应用程序色调存储库的。
git clone https://github.com/cloudera/hue.git
cd hue
make apps
build/env/bin/hue runserver
Hue UI 可在本地计算机中使用默认端口使用 url http://localhost:8000 进行访问一切正常。但是当我使用我的机器ip地址http://x.x.x.x:8000时并尝试访问它持续处理和等待的 Hue UI。
其他观察结果 -:
- 我可以从远程计算机 ping 到主机。
- 没有防火墙阻止端口。 (使用 nmap 端口扫描仪检查)
- 机器位于同一网络中。
- 我可以访问 Hadoop NameNodes UI 和 DataNodes 的其他端口。
- 更改hue.ini中的
http_host
不会影响结果
最佳答案
Hue 的理想设置是配置反向代理(例如 Nginx 或 Apache HTTP)
但是,您应该引用Configuration documentation在 127.0.0.1 之外外部运行服务器
[desktop]
# Webserver listens on this address and port
http_host=0.0.0.0
http_port=8888
关于hadoop - 无法从远程主机访问 Hue UI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51901857/