[ 
https://issues.apache.org/jira/browse/HDFS-14714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911425#comment-16911425
 ] 

Ayush Saxena commented on HDFS-14714:
-------------------------------------

{{mergeReplicatedBlockStats}} can be moved inside {{ReplicatedBlockStats}} 
similar to {{ECBlockGroupStats.merge(allStats.values())}}

For waiting for corrupt replica will {{DFSTestUtil.waitCorruptReplicas(...)}} 
or any similar work?

> RBF: implement getReplicatedBlockStats interface
> ------------------------------------------------
>
>                 Key: HDFS-14714
>                 URL: https://issues.apache.org/jira/browse/HDFS-14714
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Chen Zhang
>            Assignee: Chen Zhang
>            Priority: Major
>         Attachments: HDFS-14714.001.patch, HDFS-14714.002.patch
>
>
> It's not implemented now, we sometime need this interface for cluster monitor
> {code:java}
> // current implementation
> public ReplicatedBlockStats getReplicatedBlockStats() throws IOException {
>   rpcServer.checkOperation(NameNode.OperationCategory.READ, false);
>   return null;
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to