-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-17574. Make NNThroughputBenchmark support human-friendly units about blocksize. #6931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
💔 -1 overall
This message was automatically generated. |
9f57c76 to
0d0e7d9
Compare
|
delete blanks of 4 lines |
|
💔 -1 overall
This message was automatically generated. |
|
The failed of unit test seems unrelated to the pr. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
Hexiaoqiao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Try to trigger CI again, and let's wait what it will say.
|
🎊 +1 overall
This message was automatically generated. |
Hexiaoqiao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1. LGTM.
|
Committed to trunk. Thanks @granewang . |
|
@Hexiaoqiao Thank you for your review and merge! |
…bout blocksize. (apache#6931). Contributed by wangzhongwei. Signed-off-by: He Xiaoqiao <[email protected]>
…bout blocksize. (apache#6931). Contributed by wangzhongwei. Signed-off-by: He Xiaoqiao <[email protected]>
Description of PR
As of now,We can not specify data units while specifying the -blockSize as arguments(like 1m), but have to specify numbers.
while which is support with configuration item dfs.blocksize
How was this patch tested?
Test with command:hadoop org.apache.hadoop.hdfs.server.namenode.NNThroughputBenchmark -fs hdfs://xxxxx -op create -threads 100 -files 250000 -filesPerDir 100 -blockSize 1m -close