Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-372

DataNode should reuse delBlockFromDisk

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Not a Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      FSDataSet should reuse delBlcokFromDisk where it should/can be used like in invalidateBlock.

        Activity

        Hide
        Harsh J added a comment -

        The invalidation of blocks was deliberately moved onto using the async disk deletion services to facilitate for large delete operations without blocking operations.

        The remainder of the deletes (except for unfinalizing a block) appear to be special cases (missing block files while meta continues to exist) under the FSDataSet implementation and the delBlockFromDisk wouldn't apply to it.

        Likely gone stale. Closing out as 'Not a Problem'.

        Show
        Harsh J added a comment - The invalidation of blocks was deliberately moved onto using the async disk deletion services to facilitate for large delete operations without blocking operations. The remainder of the deletes (except for unfinalizing a block) appear to be special cases (missing block files while meta continues to exist) under the FSDataSet implementation and the delBlockFromDisk wouldn't apply to it. Likely gone stale. Closing out as 'Not a Problem'.

          People

          • Assignee:
            Unassigned
            Reporter:
            Hairong Kuang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development