goiri commented on a change in pull request #3709:
URL: https://github.com/apache/hadoop/pull/3709#discussion_r755358288



##########
File path: 
hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/SLSRunner.java
##########
@@ -998,7 +998,7 @@ public int run(final String[] argv) throws IOException, 
InterruptedException,
     if (!outputFile.exists() && !outputFile.mkdirs()) {
       System.err.println("ERROR: Cannot create output directory "
           + outputFile.getAbsolutePath());
-      throw new YarnException("Cannot create output directory");
+      throw new IOException("Cannot create output directory");

Review comment:
       Is there any test or something to make sure we do not get a regression?




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