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

        Hairong Kuang created issue -
        Nigel Daley made changes -
        Field Original Value New Value
        Fix Version/s 0.20.0 [ 12313438 ]
        Owen O'Malley made changes -
        Project Hadoop Common [ 12310240 ] HDFS [ 12310942 ]
        Key HADOOP-4812 HDFS-372
        Affects Version/s 0.18.3 [ 12313494 ]
        Component/s dfs [ 12310710 ]
        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'.
        Harsh J made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Not A Problem [ 8 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1882d 2h 45m 1 Harsh J 04/Feb/14 00:46

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development