Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS, mail # user - Bad connect ack with firstBadLink


Copy link to this message
-
Bad connect ack with firstBadLink
Harold Lim 2009-11-16, 15:35
Hi All,

I'm trying to copy files from my local filesystem to HDFS but after a while I'm getting a java.io.IOException. Any ideas why I'm getting this?
/mount/hadoop-core-0.22.0-dev/bin# ./hdfs dfs -copyFromLocal /mount/filestore /filestore                  

09/11/15 00:36:59 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink as XXXXX:50010                                                                                  
09/11/15 00:36:59 INFO hdfs.DFSClient: Abandoning block blk_5186243442349315665_1490
09/11/15 00:37:05 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink as XXXXX:50010
09/11/15 00:37:05 INFO hdfs.DFSClient: Abandoning block blk_-8119590188070910888_1490
09/11/15 00:37:12 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink as XXXXX:50010
09/11/15 00:37:12 INFO hdfs.DFSClient: Abandoning block blk_8182324531276884825_1492
09/11/15 00:37:18 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink as XXXXX:50010
09/11/15 00:37:18 INFO hdfs.DFSClient: Abandoning block blk_6572699021740215303_1492
09/11/15 00:37:24 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.io.EOFException
09/11/15 00:37:24 INFO hdfs.DFSClient: Abandoning block blk_-6796814980855591976_1492
09/11/15 00:37:30 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink as XXXXX:50010
09/11/15 00:37:30 INFO hdfs.DFSClient: Abandoning block blk_-7019917111201756069_1494
09/11/15 00:37:36 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink as XXXXX:50010
09/11/15 00:37:36 INFO hdfs.DFSClient: Abandoning block blk_6878833767189775663_1494
09/11/15 00:37:42 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink as XXXXX:50010
09/11/15 00:37:42 INFO hdfs.DFSClient: Abandoning block blk_-272412162654992144_1494
09/11/15 00:37:48 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.io.EOFException
09/11/15 00:37:48 INFO hdfs.DFSClient: Abandoning block blk_1592504437802093135_1494
09/11/15 00:37:54 WARN hdfs.DFSClient: DataStreamer Exception: java.io.IOException: Unable to create new block.

      at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSClient.java:3086)
      at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2667)

09/11/15 00:37:54 WARN hdfs.DFSClient: Could not get block locations. Source file "/filestore/e1565t.jpg" - Aborting...
copyFromLocal: null
09/11/15 00:37:54 ERROR hdfs.DFSClient: Exception closing file /filestore/e1565t.jpg : java.io.EOFException
java.io.EOFException
      at java.io.DataInputStream.readShort(DataInputStream.java:298)
      at org.apache.hadoop.hdfs.protocol.DataTransferProtocol$Status.read(DataTransferProtocol.java:109)
      at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.createBlockOutputStream(DFSClient.java:3138)
      at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSClient.java:3066)

      at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2667)
-Harold