hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject [08/50] [abbrv] hadoop git commit: HDDS-456. TestOzoneShell#init is breaking due to Null Pointer Exception. Contributed by Dinesh Chitlangia.
Date Tue, 18 Sep 2018 02:05:44 GMT
HDDS-456. TestOzoneShell#init is breaking due to Null Pointer Exception. Contributed by Dinesh
Chitlangia.


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

Branch: refs/heads/HDFS-12943
Commit: 76a0fdfed9e3b972e0904503dcb0901c546c1d8c
Parents: 2886024
Author: Arpit Agarwal <arp@apache.org>
Authored: Thu Sep 13 13:00:35 2018 -0700
Committer: Arpit Agarwal <arp@apache.org>
Committed: Thu Sep 13 13:00:35 2018 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java    | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/76a0fdfe/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
----------------------------------------------------------------------
diff --git a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
index b5bd361..71cc6ba 100644
--- a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
+++ b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
@@ -305,6 +305,9 @@ public final class OzoneManager extends ServiceRuntimeInfoImpl
       terminate(0);
       return null;
     default:
+      if (argv == null) {
+        argv = new String[]{};
+      }
       StringUtils.startupShutdownMessage(OzoneManager.class, argv, LOG);
       return new OzoneManager(conf);
     }


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