hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-7060) A more elegant FileSystem#listCorruptFileBlocks API
Date Thu, 09 Dec 2010 22:08:02 GMT

    [ 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.


Mime
View raw message