hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whe...@apache.org
Subject git commit: HDFS-6943. Improve NN allocateBlock log to include replicas' datanode IPs. Contributed by Ming Ma.
Date Mon, 08 Sep 2014 18:06:52 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 302d9a0a0 -> c1f832323


HDFS-6943. Improve NN allocateBlock log to include replicas' datanode IPs. Contributed by
Ming Ma.


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

Branch: refs/heads/trunk
Commit: c1f8323234e4635d5e710007ae8dc847a29a40f5
Parents: 302d9a0
Author: Haohui Mai <wheat9@apache.org>
Authored: Mon Sep 8 11:07:23 2014 -0700
Committer: Haohui Mai <wheat9@apache.org>
Committed: Mon Sep 8 11:07:23 2014 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 3 +++
 .../hadoop/hdfs/server/blockmanagement/DatanodeStorageInfo.java   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c1f83232/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 5a30d0a..1329442 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -446,6 +446,9 @@ Release 2.6.0 - UNRELEASED
 
     HDFS-6940. Refactoring to allow ConsensusNode implementation. (shv)
 
+    HDFS-6943. Improve NN allocateBlock log to include replicas' datanode IPs.
+    (Ming Ma via wheat9)
+
   OPTIMIZATIONS
 
     HDFS-6690. Deduplicate xattr names in memory. (wang)

http://git-wip-us.apache.org/repos/asf/hadoop/blob/c1f83232/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeStorageInfo.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeStorageInfo.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeStorageInfo.java
index 9e442c7..4ddb7cc 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeStorageInfo.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeStorageInfo.java
@@ -305,7 +305,7 @@ public class DatanodeStorageInfo {
 
   @Override
   public String toString() {
-    return "[" + storageType + "]" + storageID + ":" + state;
+    return "[" + storageType + "]" + storageID + ":" + state + ":" + dn;
   }
   
   StorageReport toStorageReport() {


Mime
View raw message