[
https://issues.apache.org/jira/browse/HDFS-16301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Takanobu Asanuma resolved HDFS-16301.
-------------------------------------
Fix Version/s: 3.4.0
2.10.2
3.3.2
3.2.4
Resolution: Fixed
> Improve BenchmarkThroughput#SIZE naming standardization
> -------------------------------------------------------
>
> Key: HDFS-16301
> URL: https://issues.apache.org/jira/browse/HDFS-16301
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: benchmarks, test
> Affects Versions: 2.9.2
> Reporter: JiangHua Zhu
> Assignee: JiangHua Zhu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.4.0, 2.10.2, 3.3.2, 3.2.4
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> In the BenchmarkThroughput#run() method, there is a local variable: SIZE.
> This variable is used in a local scope, and it may be more appropriate to
> change it to a lowercase name.
> public int run(String[] args) throws IOException {
> ......
> long SIZE = conf.getLong("dfsthroughput.file.size",
> 10L * 1024 * 1024 * 1024);
> ......
> }
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]