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

A more elegant FileSystem#listCorruptFileBlocks API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • fs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: