HDFS-16389.Improve NNThroughputBenchmark test mkdirs.#3819
HDFS-16389.Improve NNThroughputBenchmark test mkdirs.#3819jojochuang merged 1 commit intoapache:trunkfrom
Conversation
|
🎊 +1 overall
This message was automatically generated. |
|
Could you help review this pr, @aajisaka @virajjasani . |
There was a problem hiding this comment.
It would be really nice to suggest a valid range of number of directories or files. For example, up to 1 million directories?
There was a problem hiding this comment.
Thanks @jojochuang for the comment and review.
I agree with your suggestion, and I will update it later.
3229263 to
d1a4ee9
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
Could you help review this pr again @jojochuang . |
|
@jianghuazhu Could you also take care of checkstyle warnings? Changes look good overall. |
d1a4ee9 to
619cb54
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
I have updated some, can you please review this pr again, @virajjasani . |
There was a problem hiding this comment.
It's more simple
| } catch (Exception e) { | |
| if (e instanceof ArrayIndexOutOfBoundsException) { | |
| } catch (ArrayIndexOutOfBoundsException e) { |
There was a problem hiding this comment.
There was a problem hiding this comment.
Thank you very much.
I will update it later.
619cb54 to
5d80ac1
Compare
5d80ac1 to
97e5c23
Compare
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
I have updated some, can you please review this pr again, @aajisaka . |
|
+1 (non-binding) with the latest change |
|
Thank you very much @virajjasani . |
Reviewed-by: Viraj Jasani <vjasani@apache.org> Reviewed-by: Akira Ajisaka <aajisaka@apache.org> Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org> (cherry picked from commit 900682e) (cherry picked from commit 4aa9698ee1e9a10a0f882229036bbb4db1ede939)
Reviewed-by: Viraj Jasani <vjasani@apache.org> Reviewed-by: Akira Ajisaka <aajisaka@apache.org> Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org> (cherry picked from commit 900682e)
Reviewed-by: Viraj Jasani <vjasani@apache.org> Reviewed-by: Akira Ajisaka <aajisaka@apache.org> Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Description of PR
When using the NNThroughputBenchmark test to create a large number of directories, an exception message that the queue is out of bounds will be prompted.
How was this patch tested?
For testing, there is not much pressure.