Hi, there,
I am trying to setup "Pseudo-Distributed" Hadoop-0.20.2 on my Ubuntu 9.10 by
"file:///home/cloud/hadoop/docs/quickstart.html" exactly step by step,
everything was fine until I run "bin/hadoop fs -put conf input". The following
is the error. Any idea? Thanks
Dennis
cl...@cloud:~/hadoop$ bin/hadoop fs -put conf input
10/08/02 21:36:38 WARN hdfs.DFSClient: DataStreamer Exception:
java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:1:50010"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:458)
at java.lang.Integer.parseInt(Integer.java:499)
at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:146)
at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:123)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.createBlockOutputStream(DFSClient.java:2867)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:2826)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$2000(DFSClient.java:2102)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2288)
10/08/02 21:36:38 WARN hdfs.DFSClient: Error Recovery for block
blk_-4895540561435221238_1037 bad datanode[0] nodes == null
10/08/02 21:36:38 WARN hdfs.DFSClient: Could not get block locations. Source
file "/user/cloud/input/mapred-site.xml" - Aborting...
put: Could not get block locations. Source file
"/user/cloud/input/mapred-site.xml" - Aborting...
10/08/02 21:36:38 ERROR hdfs.DFSClient: Exception closing file
/user/cloud/input/mapred-site.xml : java.io.IOException: Could not get block
locations. Source file "/user/cloud/input/mapred-site.xml" - Aborting...
java.io.IOException: Could not get block locations. Source file
"/user/cloud/input/mapred-site.xml" - Aborting...
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.processDatanodeError(DFSClient.java:2536)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$1600(DFSClient.java:2102)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2265)
cl...@cloud:~/hadoop$