Cloudera DataNode无法启动

时间:2019-02-26 10:21:37

标签: hadoop cloudera cloudera-cdh

Cloudera Manager无法启动DataNode,并不断抛出以下异常

Exception in secureMain
java.io.IOException: the path component: '/var' is owned by a user who is not root and not you.  Your effective user id is 984; the path is owned by user id 1000, and its permissions are 0755.  Please fix this or select a different socket path.
    at org.apache.hadoop.net.unix.DomainSocket.validateSocketPathSecurity0(Native Method)
    at org.apache.hadoop.net.unix.DomainSocket.bindAndListen(DomainSocket.java:189)
    at org.apache.hadoop.hdfs.net.DomainPeerServer.<init>(DomainPeerServer.java:40)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.getDomainPeerServer(DataNode.java:1110)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.initDataXceiver(DataNode.java:1076)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1301)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:464)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2582)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2469)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2516)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2698)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2722)

作为试用,我授予了/ var有效的用户所有权,但仍然存在相同的错误

0 个答案:

没有答案