jojochuang commented on a change in pull request #3819:
URL: https://github.com/apache/hadoop/pull/3819#discussion_r773600232



##########
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:
       It would be really nice to suggest a valid range of number of 
directories or files. For example, up to 1 million directories?




-- 
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]

Reply via email to