Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 2.3.0
    • Component/s: datanode, namenode
    • Labels:
      None
    • Target Version/s:

      Description

      Test flakes out sometimes with the following:

      Running org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests
      Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 72.191 sec <<< FAILURE! - in org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests
      testReplicationFactor(org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests)  Time elapsed: 7.449 sec  <<< FAILURE!
      java.lang.AssertionError: Unexpected number of cached blocks expected:<4> but was:<3>
      	at org.junit.Assert.fail(Assert.java:93)
      	at org.junit.Assert.failNotEquals(Assert.java:647)
      	at org.junit.Assert.assertEquals(Assert.java:128)
      	at org.junit.Assert.assertEquals(Assert.java:472)
      	at org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests.checkNumCachedReplicas(TestPathBasedCacheRequests.java:619)
      	at org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests.testReplicationFactor(TestPathBasedCacheRequests.java:843)
      

        Activity

        Hide
        Colin Patrick McCabe added a comment -

        Fixed by HDFS-5366. If we see this again we can reopen.

        Show
        Colin Patrick McCabe added a comment - Fixed by HDFS-5366 . If we see this again we can reopen.
        Hide
        Andrew Wang added a comment -

        Log from test run attached. Grep for "3 of 4" to find the error.

        Show
        Andrew Wang added a comment - Log from test run attached. Grep for "3 of 4" to find the error.

          People

          • Assignee:
            Andrew Wang
            Reporter:
            Andrew Wang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development