You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Mingliang Liu (JIRA)" <ji...@apache.org> on 2015/12/29 22:19:49 UTC
[jira] [Commented] (HDFS-9601)
NNThroughputBenchmark.BlockReportStats should handle
NotReplicatedYetException on adding block
[ 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)