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

Fix HDFS CacheReplicationMonitor rescan logic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.6.0
    • caching
    • None
    • Reviewed

    Description

      In monitor thread, needsRescan is set to false before real scan starts, so
      for waitForRescanIfNeeded will return for the first condition:

      if (!needsRescan) {
        return;
      }
      

      Attachments

        1. HDFS-6783.001.patch
          0.8 kB
          Yi Liu
        2. HDFS-6783.002.patch
          2 kB
          Yi Liu
        3. HDFS-6783.003.patch
          4 kB
          Colin McCabe
        4. HDFS-6783.004.patch
          3 kB
          Yi Liu
        5. HDFS-6783.005.patch
          4 kB
          Colin McCabe
        6. HDFS-6783.006.fix-tests.patch
          1 kB
          Yi Liu
        7. HDFS-6783.006.patch
          4 kB
          Yi Liu

        Activity

          People

            hitliuyi Yi Liu
            hitliuyi Yi Liu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: