jianghuazhu commented on a change in pull request #3819:
URL: https://github.com/apache/hadoop/pull/3819#discussion_r773618967
##########
File path:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NNThroughputBenchmark.java
##########
@@ -265,6 +265,11 @@ void benchmark() throws IOException {
LOG.info("Starting " + numOpsRequired + " " + getOpName() + "(s).");
for(StatsDaemon d : daemons)
d.start();
+ } catch (Exception e) {
+ if (e instanceof ArrayIndexOutOfBoundsException) {
+ LOG.error("The -dirsPerDir or -filesPerDir parameter set is
incorrect.");
Review comment:
Thanks @jojochuang for the comment and review.
I agree with your suggestion, and I will update it later.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]