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

Rewrite the BlockScanner to use O(1) memory and use multiple threads

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      We should update the BlockScanner to use a constant amount of memory by keeping track of what block was scanned last, rather than by tracking the scan status of all blocks in memory. Also, instead of having just one thread, we should have a verification thread per hard disk (or other volume), scanning at a configurable rate of bytes per second.

        Attachments

        1. memory.png
          31 kB
          Colin P. McCabe
        2. HDFS-7430.002.patch
          188 kB
          Colin P. McCabe
        3. HDFS-7430.003.patch
          188 kB
          Colin P. McCabe
        4. HDFS-7430.004.patch
          195 kB
          Colin P. McCabe
        5. HDFS-7430.005.patch
          196 kB
          Colin P. McCabe
        6. HDFS-7430.006.patch
          197 kB
          Colin P. McCabe
        7. HDFS-7430.007.patch
          193 kB
          Colin P. McCabe
        8. HDFS-7430.008.patch
          193 kB
          Colin P. McCabe
        9. HDFS-7430.009.patch
          193 kB
          Colin P. McCabe
        10. HDFS-7430.010.patch
          193 kB
          Colin P. McCabe
        11. HDFS-7430.011.patch
          193 kB
          Colin P. McCabe
        12. HDFS-7430.012.patch
          212 kB
          Colin P. McCabe

          Issue Links

            Activity

              People

              • Assignee:
                cmccabe Colin P. McCabe
                Reporter:
                cmccabe Colin P. McCabe
              • Votes:
                0 Vote for this issue
                Watchers:
                24 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: