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

ASF GitHub Bot commented on HDFS-17555:
---------------------------------------

granewang commented on PR #6894:
URL: https://github.com/apache/hadoop/pull/6894#issuecomment-2210568503

   > Minor comments, rest LGTM
   > 
   > side node: As of now If I am reading the code right, we can not specify 
data units while specifying the -blockSize as arguments(like 1m), but have to 
specify numbers, maybe we can support that as well in a followup ticket
   Thanks for your nice suggestion,as of now ,we can only specify  the argument 
-blockSize with  numbers,maybe I can support that in next  patch.
   




> Fix NumberFormatException of NNThroughputBenchmark when configured 
> dfs.blocksize.
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-17555
>                 URL: https://issues.apache.org/jira/browse/HDFS-17555
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: benchmarks, hdfs
>    Affects Versions: 3.3.5, 3.3.3, 3.3.4, 3.3.6
>            Reporter: wangzhongwei
>            Assignee: wangzhongwei
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2024-06-20-19-17-10-099.png
>
>
>      when using NNThroughputBenchmark, the configuration item dfs.blocksize 
> in hdfs-site.xml is configured with a letter as the suffix,such as 
> 256m,NumberFormatException occurred.
> command:
> hadoop org.apache.hadoop.hdfs.server.namenode.NNThroughputBenchmark -fs 
> hdfs://xxxxx -op create -threads 100 -files 10000 -filesPerDir 100 -close
> !image-2024-06-20-19-17-10-099.png|width=631,height=202!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to