[ https://issues.apache.org/jira/browse/HADOOP-7060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hairong Kuang updated HADOOP-7060: ---------------------------------- Resolution: Fixed Fix Version/s: 0.23.0 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I've just committed this. > A more elegant FileSystem#listCorruptFileBlocks API > --------------------------------------------------- > > Key: HADOOP-7060 > URL: https://issues.apache.org/jira/browse/HADOOP-7060 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 0.23.0 > Reporter: Hairong Kuang > Assignee: Patrick Kling > Fix For: 0.23.0 > > 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 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.