Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13550

TestDebugAdmin#testComputeMetaCommand fails on Windows

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0, 2.10.0, 3.2.0, 2.9.2, 3.0.3
    • None
    • Reviewed

    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

        1. HDFS-13550.000.patch
          0.9 kB
          Anbang Hu
        2. HDFS-13550.001.patch
          5 kB
          Anbang Hu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            huanbang1993 Anbang Hu
            huanbang1993 Anbang Hu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment