[
https://issues.apache.org/jira/browse/HADOOP-7060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969961#action_12969961
]
Hairong Kuang commented on HADOOP-7060:
---------------------------------------
+1. This looks good to me.
> A more elegant FileSystem#listCorruptFileBlocks API
> ---------------------------------------------------
>
> Key: HADOOP-7060
> URL: https://issues.apache.org/jira/browse/HADOOP-7060
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Hairong Kuang
> Assignee: Patrick Kling
> Attachments: HADOOP-7060.2.patch, HADOOP-7060.patch
>
>
> I'd like to change the newly added listCorruptFileBlocks signature to be:
> {code}
> /**
> * Get all files with corrupt blocks under the given path
> */
> RemoteIterator<Path> listCorruptFileBlocks(Path src) throws IOException;
> {code}
> This new API does not expose "cookie" to user although underlying
> implementation may still need to invoke multiple RPCs to get the whole list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.