HDFS Build Crashes with Build-FI Assertion Error
------------------------------------------------
Key: HDFS-1421
URL: https://issues.apache.org/jira/browse/HDFS-1421
Project: Hadoop HDFS
Issue Type: Bug
Components: build
Affects Versions: 0.21.0
Environment: SLES 10 SP2, Sun JRE 1.6
Reporter: Stephen Watt
Fix For: 0.21.1, 0.22.0
The HDFS Compilation (ANT CLEAR TAR) but the BUILD-FI in the TEST-CORE
Directive fails and crashes the build. This is the tail of the Build Log:
compile-hdfs-test:
[delete] Deleting directory
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[mkdir] Created dir:
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/cache
run-commit-test:
[mkdir] Created dir:
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/data
[mkdir] Created dir:
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/logs
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/extraconf
[copy] Copying 1 file to
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/extraconf
[junit] WARNING: multiple versions of ant detected in path for junit
[junit]
jar:file:/home/harmony/Test-Dependencies/apache-ant-1.7.1/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] and
jar:file:/home/harmony/.ivy2/cache/ant/ant/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
[junit] Running org.apache.hadoop.fs.TestFiListPath
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.014 sec
[junit] Running org.apache.hadoop.fs.TestFiRename
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 11.189 sec
[junit] Running org.apache.hadoop.hdfs.TestFiHFlush
[junit] Tests run: 9, Failures: 2, Errors: 0, Time elapsed: 49.951 sec
[junit] Running org.apache.hadoop.hdfs.TestFiPipelines
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 39.086 sec
[junit] Running
org.apache.hadoop.hdfs.server.datanode.TestFiDataTransferProtocol
[junit] Tests run: 29, Failures: 0, Errors: 0, Time elapsed: 280.166 sec
[junit] Running
org.apache.hadoop.hdfs.server.datanode.TestFiDataTransferProtocol2
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 449.615 sec
[junit] Running org.apache.hadoop.hdfs.server.datanode.TestFiPipelineClose
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 44.464 sec
checkfailure:
[touch] Creating
/home/harmony/Hadoop-Versions/hadoop-0.21.0/hdfs/build-fi/test/testsfailed
- - - - - -
The checkfailure file does not exist. But the tail of the
TEST-org.apache.hadoop.hdfs.TestFiHFlush.txt is as follows:
Testcase: hFlushFi01_a took 18.505 sec
Testcase: hFlushFi01_b took 3.899 sec
Testcase: hFlushFi01_c took 4.192 sec
Testcase: hFlushFi02_a took 4.023 sec
FAILED
junit.framework.AssertionFailedError:
at
org.apache.hadoop.hdfs.TestFiHFlush.runDiskErrorTest(TestFiHFlush.java:56)
at
org.apache.hadoop.hdfs.TestFiHFlush.hFlushFi02_a(TestFiHFlush.java:114)
Testcase: hFlushFi02_b took 3.973 sec
Testcase: hFlushFi02_c took 3.834 sec
Testcase: hFlushFi03_a took 3.938 sec
FAILED
junit.framework.AssertionFailedError:
at
org.apache.hadoop.hdfs.TestFiHFlush.runDiskErrorTest(TestFiHFlush.java:56)
at
org.apache.hadoop.hdfs.TestFiHFlush.hFlushFi03_a(TestFiHFlush.java:151)
Testcase: hFlushFi03_b took 3.698 sec
Testcase: hFlushFi03_c took 3.854 sec
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.