hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject [02/50] [abbrv] hadoop git commit: HDDS-583. SCM returns zero as the return code, even when invalid options are passed. Contributed by Namit Maheshwari.
Date Fri, 12 Oct 2018 05:46:18 GMT
HDDS-583. SCM returns zero as the return code, even when invalid options are passed. Contributed
by Namit Maheshwari.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6a397393
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6a397393
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6a397393

Branch: refs/heads/HDFS-12943
Commit: 6a39739316795a4828833e99d78aadc684270f98
Parents: 5b7ba48
Author: Bharat Viswanadham <bharat@apache.org>
Authored: Tue Oct 9 15:21:02 2018 -0700
Committer: Bharat Viswanadham <bharat@apache.org>
Committed: Tue Oct 9 15:21:19 2018 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hdds/scm/server/StorageContainerManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6a397393/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
----------------------------------------------------------------------
diff --git a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
index efd5fc5..ce2725f 100644
--- a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
+++ b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
@@ -513,7 +513,7 @@ public final class StorageContainerManager extends ServiceRuntimeInfoImpl
 
   private static StartupOption parseArguments(String[] args) {
     int argsLen = (args == null) ? 0 : args.length;
-    StartupOption startOpt = StartupOption.HELP;
+    StartupOption startOpt = null;
     if (argsLen == 0) {
       startOpt = StartupOption.REGULAR;
     }


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


Mime
View raw message