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

Add a new class for the parameter in INode.collectSubtreeBlocksAndClear(..)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0-beta, 3.0.0-alpha1
    • 2.1.0-beta
    • namenode
    • None
    • Reviewed

    Description

      INode.collectSubtreeBlocksAndClear(..) currently uses a list to collect blocks for deletion. It cannot be extended to support other operation like updating the block-map. We propose to add a new class to encapsulate the abstraction.

      Attachments

        1. HDFS-4152.001.patch
          14 kB
          Jing Zhao

        Issue Links

          Activity

            People

              jingzhao Jing Zhao
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: