Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-13026

Ozone: TestContainerPersistence is failing becaue of container data mismatch

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7240
    • HDFS-7240
    • ozone
    • None
    • Reviewed

    Description

      TestContainerPersistence fails because of the following error.

      [INFO] Running org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence [ERROR] Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.386 s <<< FAILURE! - in org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence [ERROR] testMultipleWriteSingleRead(org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence) Time elapsed: 2.294 s <<< FAILURE! org.junit.ComparisonFailure: expected:<[76626052b877b37503fdb052dfd8f73398643a02f9f7432b4e3a7f8b69b85915]> but was:<[940c05649be7c86ab3993aa708f3d30311ebc0b68723465ac9c90460a23e6e58]> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence.testMultipleWriteSingleRead(TestContainerPersistence.java:586) 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.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) 
      

      Attachments

        1. HDFS-13026-HDFS-7240.001.patch
          2 kB
          Mukul Kumar Singh

        Activity

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: