You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by sn...@apache.org on 2019/08/09 10:15:16 UTC

[hadoop] branch branch-3.2 updated: SUBMARINE-57. Add more elaborate message if submarine command is not recognized. Contributed by Adam Antal

This is an automated email from the ASF dual-hosted git repository.

snemeth pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new 3e90712  SUBMARINE-57. Add more elaborate message if submarine command is not recognized. Contributed by Adam Antal
3e90712 is described below

commit 3e9071207a60a5b8cb3ad0ca23bbaf75b3e3c6d9
Author: Szilard Nemeth <sn...@apache.org>
AuthorDate: Fri Aug 9 12:13:37 2019 +0200

    SUBMARINE-57. Add more elaborate message if submarine command is not recognized. Contributed by Adam Antal
    
    (cherry picked from commit e5f4cd0fdae7e689789dd74bfbcfa6c52895f037)
---
 .../src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-submarine/src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-submarine/src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java
index 69189f4..1106b2e 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-submarine/src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-submarine/src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java
@@ -97,7 +97,7 @@ public class Cli {
       }
     } else {
       printHelp();
-      throw new IllegalArgumentException("Bad parameters <TODO>");
+      throw new IllegalArgumentException("Unrecognized option: " + args[0]);
     }
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org