[ 
https://issues.apache.org/jira/browse/HDFS-9436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HDFS-9436:
--------------------------------
    Attachment: HDFS-9436.000.patch

The v0 patch makes number of datanodes in {{BlockReportStat}} 10 by default. 
This is only to test more cases, especially brought by [HDFS-9379].

The default value should be rarely used. Meanwhile, the {{nameNodeProto}} and 
{{dataNodeProto}} are static members of the benchmark, thus running multiple 
operation tests with different arguments (e.g. number of datanodes) may get 
unexpected result. Because of this, the default number of datanodes in 
{{ReplicationReportStat}} is also changed as 10.

> Make NNThroughputBenchmark$BlockReportStats run with 10 datanodes by default
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-9436
>                 URL: https://issues.apache.org/jira/browse/HDFS-9436
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HDFS-9436.000.patch
>
>
> This is a follow-up of [HDFS-9379].
> Though for actual benchmarking the defaults are rarely used, it would be good 
> to change the default for {{numThreads}} as a >=10 value and may be 
> {{numOpsRequired}} in {{BlockReportStats}} just to make sure the condition in 
> [HDFS-9379] is tested in the future.



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

Reply via email to