I recall seeing this error due to a network misconfiguration. You may want to 
verify that IP addresses and host names are correctly setup.

From: Caesar Samsi
Reply-To: "[email protected]<mailto:[email protected]>"
Date: Wednesday, June 3, 2015 at 8:07 PM
To: "[email protected]<mailto:[email protected]>"
Subject: ack with firstBadLink as 192.168.1.12:50010?

I’ve just built my distributed cluster but am getting the following error when 
I try to use HDFS.

I’ve traced it by telnet to 192.168.1.12 50010 and it just waits there waiting 
for a connection but never happens.

If I telnet on that host using localhost (127.0.0.1) the telnet connection 
happens immediately.

What could be the cause?

>>

hduser@hadoopmaster ~/hadoop $ hdfs dfs -copyFromLocal input input
15/06/03 20:03:36 INFO hdfs.DFSClient: Exception in createBlockOutputStream
java.io.IOException: Got error, status message , ack with firstBadLink as 
192.168.1.12:50010
                at 
org.apache.hadoop.hdfs.protocol.datatransfer.DataTransferProtoUtil.checkBlockOpStatus(DataTransferProtoUtil.java:140)
                at 
org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1334)
                at 
org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1237)
                at 
org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:449)
15/06/03 20:03:36 INFO hdfs.DFSClient: Abandoning 
BP-101149352-192.168.1.10-1433386347922:blk_1073741829_1005
15/06/03 20:03:36 INFO hdfs.DFSClient: Excluding datanode 
DatanodeInfoWithStorage[192.168.1.12:50010,DS-1347a6fe-6bad-4df8-88cb-21378b847839,DISK]
15/06/03 20:03:36 WARN hdfs.DFSClient: Slow waitForAckedSeqno took 70947ms 
(threshold=30000ms)

Reply via email to