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

Mingliang Liu commented on HDFS-9601:
-------------------------------------

Thanks for working on this, [~iwasakims]. I think the patch makes sense. While 
the retry logic is very similar to addBlock in DFSOutputStream, I don't know 
how we can reuse the existing code though.

> NNThroughputBenchmark.BlockReportStats should handle 
> NotReplicatedYetException on adding block
> ----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-9601
>                 URL: https://issues.apache.org/jira/browse/HDFS-9601
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>         Attachments: HDFS-9601.001.patch
>
>
> TestNNThroughputBenchmark intermittently fails due to 
> NotReplicatedYetException. Because 
> {{NNThroughputBenchmark.BlockReportStats#generateInputs}} directly uses 
> {{ClientProtocol#addBlock}}, it must handles {{NotReplicatedYetException}} by 
> itself as {{DFSOutputStream#addBlock} do.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to