Details
Description
[INFO] Running org.apache.hadoop.hdfs.tools.TestDebugAdmin
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 32.845 s <<< FAILURE! - in org.apache.hadoop.hdfs.tools.TestDebugAdmin
[ERROR] testComputeMetaCommand(org.apache.hadoop.hdfs.tools.TestDebugAdmin) Time elapsed: 32.792 s <<< FAILURE!
org.junit.ComparisonFailure:
expected:<...file, and save it to[ the specified output metadata file.**NOTE: Use at your own risk! If the block file is corrupt and you overwrite it's meta file, it will show up as good in HDFS, but you can't read the data. Only use as a last measure, and when you are 100% certain the block file is good.]> but was:<...file, and save it to[
the specified output metadata file.
**NOTE: Use at your own risk!
If the block file is corrupt and you overwrite it's meta file,
it will show up as good in HDFS, but you can't read the data.
Only use as a last measure, and when you are 100% certain the block file is good.
]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.apache.hadoop.hdfs.tools.TestDebugAdmin.testComputeMetaCommand(TestDebugAdmin.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestDebugAdmin.testComputeMetaCommand:137 expected:<...file, and save it to[ the specified output metadata file.**NOTE: Use at your own risk! If the block file is corrupt and you overwrite it's meta file, it will show up as good in HDFS, but you can't read the data. Only use as a last measure, and when you are 100% certain the block file is good.]> but was:<...file, and save it to[
the specified output metadata file.
**NOTE: Use at your own risk!
If the block file is corrupt and you overwrite it's meta file,
it will show up as good in HDFS, but you can't read the data.
Only use as a last measure, and when you are 100% certain the block file is good.
]>
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-15475 Fix broken unit tests on Windows
- Open