Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7060

A more elegant FileSystem#listCorruptFileBlocks API

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I'd like to change the newly added listCorruptFileBlocks signature to be:

      /**
      * Get all files with corrupt blocks under the given path
      */
      RemoteIterator<Path> listCorruptFileBlocks(Path src) throws IOException;
      

      This new API does not expose "cookie" to user although underlying implementation may still need to invoke multiple RPCs to get the whole list.

        Attachments

        1. HADOOP-7060.2.patch
          10 kB
          Patrick Kling
        2. HADOOP-7060.patch
          5 kB
          Patrick Kling

          Issue Links

            Activity

              People

              • Assignee:
                pkling Patrick Kling
                Reporter:
                hairong Hairong Kuang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: