将配置修改回来
hadoop.security.authentication: Kerberos -> Simple
hadoop.security.authorization: true -> false
dfs.datanode.address: -> from 1004 (for Kerberos) to 50010 (default)
dfs.datanode.http.address: -> from 1006 (for Kerberos) to 50075 (default)
如果端口没有改回来,报错
2019-06-04 11:01:31,082 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Exception in secureMain
java.io.IOException: Failed on local exception: java.net.SocketException: 权限不够; Host Details : local host is: "fuzhou202"; destination host is: (unknown):0;
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:772)
at org.apache.hadoop.ipc.Server.bind(Server.java:524)
at org.apache.hadoop.ipc.Server.bind(Server.java:496)
at org.apache.hadoop.hdfs.net.TcpPeerServer.<init>(TcpPeerServer.java:115)
at org.apache.hadoop.hdfs.server.datanode.DataNode.initDataXceiver(DataNode.java:1059)
at org
版权声明:本文为qq_28074313原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。