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

Decoding inputs should be correctly prepared in pread

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha3
    • Fix Version/s: 3.0.0-beta1
    • Component/s: erasure-coding
    • Labels:
      None

      Description

      TestDFSStripedInputStreamWithRandomECPolicy#testPreadWithDNFailure fails on trunk:

      Running org.apache.hadoop.hdfs.TestDFSStripedInputStreamWithRandomECPolicy
      Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.99 sec <<< FAILURE! - in org.apache.hadoop.hdfs.TestDFSStripedInputStreamWithRandomECPolicy
      testPreadWithDNFailure(org.apache.hadoop.hdfs.TestDFSStripedInputStreamWithRandomECPolicy)  Time elapsed: 1.265 sec  <<< FAILURE!
      org.junit.internal.ArrayComparisonFailure: arrays first differed at element [327680]; expected:<-36> but was:<2>
      	at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
      	at org.junit.Assert.internalArrayEquals(Assert.java:473)
      	at org.junit.Assert.assertArrayEquals(Assert.java:294)
      	at org.junit.Assert.assertArrayEquals(Assert.java:305)
      	at org.apache.hadoop.hdfs.TestDFSStripedInputStream.testPreadWithDNFailure(TestDFSStripedInputStream.java:306)
      	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.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      

        Attachments

        1. HDFS-11964.1.patch
          2 kB
          Takanobu Asanuma
        2. HDFS-11964.2.patch
          1 kB
          Takanobu Asanuma
        3. HDFS-11964.3.patch
          7 kB
          Takanobu Asanuma
        4. HDFS-11964.4.patch
          1 kB
          Takanobu Asanuma

          Issue Links

            Activity

              People

              • Assignee:
                tasanuma Takanobu Asanuma
                Reporter:
                eddyxu Lei (Eddy) Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: