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

Fix HDFS CacheReplicationMonitor rescan logic

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.6.0
    • Component/s: caching
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: