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 um...@apache.org on 2015/05/08 07:38:30 UTC

hadoop git commit: HDFS-8174. Update replication count to live rep count in fsck report. Contributed by J.Andreina

Repository: hadoop
Updated Branches:
  refs/heads/branch-2 dce2381dc -> 7fe1d7400


HDFS-8174. Update replication count to live rep count in fsck report. Contributed by  J.Andreina

(cherry picked from commit 2ea0f2fc938febd7fbbe03656a91ae3db1409c50)


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

Branch: refs/heads/branch-2
Commit: 7fe1d74005d8dd90e5d87c47b5b750230dc6201d
Parents: dce2381
Author: Uma Maheswara Rao G <um...@apache.org>
Authored: Fri May 8 11:01:51 2015 +0530
Committer: Uma Maheswara Rao G <um...@apache.org>
Committed: Fri May 8 11:07:58 2015 +0530

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                        | 2 ++
 .../java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/7fe1d740/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 17f9144..a51968d 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -332,6 +332,8 @@ Release 2.8.0 - UNRELEASED
 
     HDFS-8067. haadmin prints out stale help messages (Ajith S via vinayakumarb)
 
+    HDFS-8174. Update replication count to live rep count in fsck report. (J.Andreina)
+
 Release 2.7.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/7fe1d740/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java
index 5ea8b8b..7c24d44 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java
@@ -620,7 +620,7 @@ public class NamenodeFsck implements DataEncryptionKeyFactory {
         missing++;
         missize += block.getNumBytes();
       } else {
-        report.append(" repl=" + liveReplicas);
+        report.append(" Live_repl=" + liveReplicas);
         if (showLocations || showRacks || showReplicaDetails) {
           StringBuilder sb = new StringBuilder("[");
           Iterable<DatanodeStorageInfo> storages = bm.getStorages(block.getLocalBlock());