HUE 无法访问文件系统
HUE failed to access file systems
我通过git克隆从https://github.com/cloudera/hue下载了HUE并编译成功。但是,它显示发生了一些连接错误,这意味着它无法连接到我的本地文件或 HDFS 文件系统。
来自命令行的错误信息:
[11/Jan/2021 03:58:33 +0000] cluster INFO Resource Manager
not available, trying another RM: YARN RM returned a failed response:
HTTPConnectionPool(host='localhost', port=8088): Max retries exceeded
with url:
/ws/v1/cluster/apps?finalStatus=UNDEFINED&limit=1000&user.name=hue&user=jyy&startedTimeBegin=1609761513000&doAs=jyy
(Caused by NewConnectionError('<urllib3.connection.HTTPConnection
object at 0x7fd4931e4f10>: Failed to establish a new connection:
[Errno 111] Connection refused',)).
在 localhost:8080 上:
Could not connect to any of [('127.0.0.1', 10000)] (code
THRIFTTRANSPORT): TTransportException("Could not connect to any of
[('127.0.0.1', 10000)]",)
仪表板、调度程序、文档都报告了错误。比如hdfs报如下错误:
Cannot access: /user/jyy. The HDFS REST service is not available.
HTTPConnectionPool(host='localhost', port=50070): Max retries exceeded
with url: /webhdfs/v1/user/jyy?op=GETFILESTATUS&user.name=hue&doas=jyy
(Caused by NewConnectionError('<urllib3.connection.HTTPConnection
object at 0x7fd4931dc210>: Failed to establish a new connection:
[Errno 111] Connection refused',))
谁能找出问题所在?提前致谢!
如果您的 Hadoop 服务不在本地主机上,您将需要更新 Hue configuration 以指向它们。
我通过git克隆从https://github.com/cloudera/hue下载了HUE并编译成功。但是,它显示发生了一些连接错误,这意味着它无法连接到我的本地文件或 HDFS 文件系统。
来自命令行的错误信息:
[11/Jan/2021 03:58:33 +0000] cluster INFO Resource Manager not available, trying another RM: YARN RM returned a failed response: HTTPConnectionPool(host='localhost', port=8088): Max retries exceeded with url: /ws/v1/cluster/apps?finalStatus=UNDEFINED&limit=1000&user.name=hue&user=jyy&startedTimeBegin=1609761513000&doAs=jyy (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd4931e4f10>: Failed to establish a new connection: [Errno 111] Connection refused',)).
在 localhost:8080 上:
Could not connect to any of [('127.0.0.1', 10000)] (code THRIFTTRANSPORT): TTransportException("Could not connect to any of [('127.0.0.1', 10000)]",)
仪表板、调度程序、文档都报告了错误。比如hdfs报如下错误:
Cannot access: /user/jyy. The HDFS REST service is not available. HTTPConnectionPool(host='localhost', port=50070): Max retries exceeded with url: /webhdfs/v1/user/jyy?op=GETFILESTATUS&user.name=hue&doas=jyy (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd4931dc210>: Failed to establish a new connection: [Errno 111] Connection refused',))
谁能找出问题所在?提前致谢!
如果您的 Hadoop 服务不在本地主机上,您将需要更新 Hue configuration 以指向它们。