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

TestDataNodeUGIProvider fails intermittently due to non-deterministic cache expiry.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • test
    • None

    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.001.patch
          3 kB
          Chris Nauroth
        2. HDFS-9370.002.patch
          4 kB
          Chris Nauroth

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: