Hadoop Common
  1. Hadoop Common
  2. HADOOP-7060

A more elegant FileSystem#listCorruptFileBlocks API

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development