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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.7.0
    • None
    • None

    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 McCabe
        2. HDFS-7430.012.patch
          212 kB
          Colin McCabe
        3. HDFS-7430.011.patch
          193 kB
          Colin McCabe
        4. HDFS-7430.010.patch
          193 kB
          Colin McCabe
        5. HDFS-7430.009.patch
          193 kB
          Colin McCabe
        6. HDFS-7430.008.patch
          193 kB
          Colin McCabe
        7. HDFS-7430.007.patch
          193 kB
          Colin McCabe
        8. HDFS-7430.006.patch
          197 kB
          Colin McCabe
        9. HDFS-7430.005.patch
          196 kB
          Colin McCabe
        10. HDFS-7430.004.patch
          195 kB
          Colin McCabe
        11. HDFS-7430.003.patch
          188 kB
          Colin McCabe
        12. HDFS-7430.002.patch
          188 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: