Also found the following in the test's log:
------------- ---------------- ---------------
------------- Standard Error -----------------
Waiting for the Mini HDFS Cluster to start...
------------- ---------------- ---------------
Testcase: testCheckpoint took 3.783 sec
Caused an ERROR
For input string: "0:0:0:0:0:0:1:50010"
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:456)
at java.lang.Integer.parseInt(Integer.java:497)
at
org.apache.hadoop.dfs.DataNode.createSocketAddr(DataNode.java:98)
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:1092)
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.endBlock(DFSClient.java:1308)
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.flush(DFSClient.java:1260)
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.write(DFSClient.java:1242)
at
org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(FSDataOutputStream.java:38)
at
java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
at java.io.DataOutputStream.write(DataOutputStream.java:90)
at
org.apache.hadoop.fs.ChecksumFileSystem$FSOutputSummer.write(ChecksumFileSystem.java:395)
at
org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(FSDataOutputStream.java:38)
at
java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
at java.io.DataOutputStream.write(DataOutputStream.java:90)
at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
at
org.apache.hadoop.dfs.TestCheckpoint.writeFile(TestCheckpoint.java:47)
at
org.apache.hadoop.dfs.TestCheckpoint.testCheckpoint(TestCheckpoint.java:264)
Tahir Hashmi wrote:
Hi!
I've started getting lots of failures in DFS unit tests since updating
to trunk revision 532317. I get the following warning while building:
[javac]
/home/tahir/Desktop/Trunk/trunk/src/test/org/apache/hadoop/dfs/ClusterTestDFS.java:439:
warning: [unchecked] unchecked call to
getConstructor(java.lang.Class<?>...) as a member of the raw type
java.lang.Class
[javac] randomDataGeneratorCtor = clazz.getConstructor(new
Class[]{Long.TYPE});
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
Also, TestCheckpoint fails after throwing the following exception
several times:
[junit] java.lang.InterruptedException
[junit] at java.lang.Object.wait(Native Method)
[junit] at org.apache.hadoop.ipc.Server$Handler.run(Server.java:547)
[junit] 2007-04-25 16:50:27,622 INFO ipc.Server (Server.java:run(604))
- IPC Server handler 5 on 44474 caught: java.lang.InterruptedException
So what's happening?
--
Tahir Hashmi (Grid Dev)
Y!M: tn_hashmi
http://www.codemartial.org