hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HDFS-10628. Log HDFS Balancer exit message to its own log. Contributed by Jiayi Zhou.
Date Fri, 15 Jul 2016 18:43:37 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 24db9167f -> c48e9d608


HDFS-10628. Log HDFS Balancer exit message to its own log. Contributed by Jiayi Zhou.


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

Branch: refs/heads/trunk
Commit: c48e9d608c1daf7826f2e738c0a67d8eab79d8de
Parents: 24db916
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Fri Jul 15 11:42:44 2016 -0700
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Fri Jul 15 11:42:44 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hdfs/server/balancer/Balancer.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c48e9d60/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Balancer.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Balancer.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Balancer.java
index 6ebd6b0..8d94ed5 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Balancer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Balancer.java
@@ -609,6 +609,8 @@ public class Balancer {
       if (!runDuringUpgrade && nnc.isUpgrading()) {
         System.err.println("Balancer exiting as upgrade is not finalized, "
             + "please finalize the HDFS upgrade before running the balancer.");
+        LOG.error("Balancer exiting as upgrade is not finalized, "
+            + "please finalize the HDFS upgrade before running the balancer.");
         return newResult(ExitStatus.UNFINALIZED_UPGRADE, bytesLeftToMove, -1);
       }
 


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