master错误:
n
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /data/hadoop-root-namenode-master.log._COPYING_ could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation.
Datanode报错:
mCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2017-06-07 22:29:32,659 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.86.133:9000. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2017-06-07 22:29:33,660 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.86.133:9000. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2017-06-07 22:29:34,663 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.86.133:9000. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2017-06-07 22:29:35,666 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.86.133:9000. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2017-06-07 22:29:36,668 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.86.133:9000. Already tried 9 time(s); retry policy is RetryUpToMa
很明显master节点9000端口无法连接,没有关闭master防火墙