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:14:11 UTC

[hadoop] branch trunk 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 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 <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
---
 .../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: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org