hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject hadoop git commit: HDFS-11999. Ozone: Clarify startup error message of Datanode in case namenode is missing. Contributed by Marton Elek.
Date Tue, 20 Jun 2017 23:56:39 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 185e3ad74 -> 14a94e7a4


HDFS-11999. Ozone: Clarify startup error message of Datanode in case namenode is missing.
Contributed by Marton Elek.


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

Branch: refs/heads/HDFS-7240
Commit: 14a94e7a4f5b1563b83b6c51a279a9adc781fc64
Parents: 185e3ad
Author: Anu Engineer <aengineer@apache.org>
Authored: Tue Jun 20 16:37:03 2017 -0700
Committer: Anu Engineer <aengineer@apache.org>
Committed: Tue Jun 20 16:37:03 2017 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hdfs/server/datanode/BlockPoolManager.java  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/14a94e7a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockPoolManager.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockPoolManager.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockPoolManager.java
index 75f59df..ce44f16 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockPoolManager.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockPoolManager.java
@@ -160,12 +160,13 @@ class BlockPoolManager {
       newLifelineAddressMap =
           DFSUtil.getNNLifelineRpcAddressesForCluster(conf);
     } catch (IOException ioe) {
-      LOG.warn("Unable to get NameNode addresses. " +
-          "This may be an Ozone-only cluster.");
+      LOG.warn("Unable to get NameNode addresses. (Note: Namenode is required "
+          +  "even for Ozone cluster.)");
     }
 
     if (newAddressMap.isEmpty()) {
-      throw new IOException("No services to connect (NameNodes or SCM).");
+      throw new IOException("No services to connect, missing NameNode " +
+          "address.");
     }
 
     synchronized (refreshNamenodesLock) {


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