从datanodes机器中(我们在ambari集群中有4个datanodes机器)
我们可以看到以下错误
我们检查主机名的DNS和IP的解析,它们没问题
任何建议在这里还需要检查什么?
2018-12-02 16:41:59,608 ERROR datanode.DataNode (DataXceiver.java:run(278)) - DATANODE01.sys54.com:50010:DataXceiver error processing WRITE_BLOCK operation src: /192.23.12.179:39418 dst: /192.23.12.179:50010
2018-12-02 16:41:59,609 ERROR datanode.DataNode (DataXceiver.java:run(278)) - DATANODE01.sys54.com:50010:DataXceiver error processing WRITE_BLOCK operation src: /192.23.12.179:39664 dst: /192.23.12.179:50010
2018-12-02 16:42:24,018 ERROR datanode.DataNode (DataXceiver.java:writeBlock(787)) - DataNode{data=FSDataset{dirpath='[/grid/sdb/hadoop/hdfs/data/current, /grid/sdc/hadoop/hdfs/data/current, /grid/sdd/hadoop/hdfs/data/current, /grid/sde/hadoop/hdfs/data/current, /grid/sdf/hadoop/hdfs/data/current]'}, localName='DATANODE01.sys54.com:50010', datanodeUuid='83024a74-8fa4-4cc4-ad09-82c5b065f8ad', xmitsInProgress=0}:Exception transfering block BP-1378391652-192.23.12.165-1531291408940:blk_1203178897_129440081 to mirror 192.23.12.181:50010: java.net.SocketTimeoutException: 65000 millis timeout while waiting for channel to be ready for read. ch : java.nio.channels.SocketChannel[connected local=/192.23.12.179:35834 remote=/192.23.12.181:50010]