This is an automated email from the ASF dual-hosted git repository.
snemeth pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new e5f4cd0 SUBMARINE-57. Add more elaborate message if submarine command
is not recognized. Contributed by Adam Antal
e5f4cd0 is described below
commit e5f4cd0fdae7e689789dd74bfbcfa6c52895f037
Author: Szilard Nemeth <[email protected]>
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
---
.../src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hadoop-submarine/hadoop-submarine-core/src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java
b/hadoop-submarine/hadoop-submarine-core/src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java
index 593fb89..b1fd90f 100644
---
a/hadoop-submarine/hadoop-submarine-core/src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java
+++
b/hadoop-submarine/hadoop-submarine-core/src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java
@@ -100,7 +100,7 @@ public class Cli {
}
} else {
printHelp();
- throw new IllegalArgumentException("Bad parameters <TODO>");
+ throw new IllegalArgumentException("Unrecognized option: " + args[0]);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]