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