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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/05 15:13:00 UTC
[jira] [Updated] (HDFS-16301) Improve BenchmarkThroughput#SIZE
naming standardization
[ https://issues.apache.org/jira/browse/HDFS-16301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDFS-16301:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Time Spent: 10m
> 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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org