MAPREDUCE服务 MRS-使用普通集群Core节点上安装的HDFS客户端时报错“error creating DomainSocket”:问题现象

时间:2024-08-27 10:23:54

问题现象

普通集群在Core节点新建用户安装使用客户端报错如下:

2020-03-14 19:16:17,166 WARN shortcircuit.DomainSocketFactory: error creating DomainSocket
java.net.ConnectException: connect(2) error: Permission denied when trying to connect to '/var/run/ MRS -HDFS/dn_socket'
at org.apache.hadoop.net.unix.DomainSocket.connect0(Native Method)
at org.apache.hadoop.net.unix.DomainSocket.connect(DomainSocket.java:256)
at org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.createSocket(DomainSocketFactory.java:168)
at org.apache.hadoop.hdfs.client.impl.BlockReaderFactory.nextDomainPeer(BlockReaderFactory.java:799)
...
support.huaweicloud.com/trouble-mrs/mrs_03_0206.html