You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Prasad Vishnubhotla <vi...@us.ibm.com> on 2008/08/23 00:06:07 UTC
hadoop-0.17.2 error
Hello:
I installed hadoop-0.17.2 on a two node Linux cluster, did a "hadoop
namenode -format" followed by a "start-dfs.sh". The logs show no errors at
this point. Then I did a "hadoop dfs -ls" and it gave me an error:
"ls: Cannot access .: No such file or directory.".
---------------- (A)
I expected a silent return just like for an "ls" on a empty directory.
Looks like a hadoop bug! Or could this be something I did? Did anyone else
see this?
Then I tried the command
hadoop dfs -put file01 file01
and it gave me a longer error given below after the "---------------". It
did create a file entry 'file01' in the dfs directory though.
I deleted the file with a "hadoop dfs -rmr file01" and then tried a
"hadoop dfs -ls" again. This time I am not getting the error (A) anymore.
To me this reconfirmed that (A) is a hadoop bug. Any feedback is
appreciated.
Thanks,
Prasad Vishnubhotla
-------------------------------------------------------------------------
vishnu@tigris:~/hadoop/wd/data> hadoop dfs -put file01 file01
08/08/22 16:09:39 INFO dfs.DFSClient: Exception in createBlockOutputStream
java.io.IOException: Bad connect ack with firstBadLink 9.41.83.82:50010
08/08/22 16:09:39 INFO dfs.DFSClient: Abandoning block
blk_6455357290091549180
08/08/22 16:09:45 INFO dfs.DFSClient: Exception in createBlockOutputStream
java.io.IOException: Bad connect ack with firstBadLink 9.41.83.82:50010
08/08/22 16:09:45 INFO dfs.DFSClient: Abandoning block
blk_4591380826518314673
08/08/22 16:09:51 INFO dfs.DFSClient: Exception in createBlockOutputStream
java.io.IOException: Bad connect ack with firstBadLink 9.41.83.82:50010
08/08/22 16:09:51 INFO dfs.DFSClient: Abandoning block
blk_-2678446658613278669
08/08/22 16:09:57 INFO dfs.DFSClient: Exception in createBlockOutputStream
java.io.IOException: Bad connect ack with firstBadLink 9.41.83.82:50010
08/08/22 16:09:57 INFO dfs.DFSClient: Abandoning block
blk_-6937012944769078443
08/08/22 16:10:03 WARN dfs.DFSClient: DataStreamer Exception:
java.io.IOException: Unable to create new block.
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:2246)
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.access$1700(DFSClient.java:1702)
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:1842)
08/08/22 16:10:03 WARN dfs.DFSClient: Error Recovery for block
blk_-6937012944769078443 bad datanode[1]
put: Could not get block locations. Aborting...
Exception closing file /user/vishnu/file01
java.io.IOException: Could not get block locations. Aborting...
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.processDatanodeError(DFSClient.java:2081)
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.access$1300(DFSClient.java:1702)
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:1818)