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

TestDataNodeUGIProvider fails intermittently due to non-deterministic cache expiry.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: test
    • Labels:
      None
    • Target Version/s:

      Description

      TestDataNodeUGIProvider has hard-coded sleep times waiting for background expiration of entries in a Guava cache. I have seen this test suite fail intermittently, because expiration is not guaranteed to happen strictly on the boundary of the period defined by the cache's expiration time.

        Attachments

        1. HDFS-9370.002.patch
          4 kB
          Chris Nauroth
        2. HDFS-9370.001.patch
          3 kB
          Chris Nauroth

          Issue Links

            Activity

              People

              • Assignee:
                cnauroth Chris Nauroth
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: