HDFS-11211. Add a time unit to the DataNode client trace format. Contributed by 
Jagadesh Kiran N


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

Branch: refs/heads/YARN-5972
Commit: 43cb1678cc000b1fbf8b813ee14ecef19b86a55c
Parents: ed89856
Author: Mingliang Liu <lium...@apache.org>
Authored: Tue Dec 6 09:12:11 2016 -0800
Committer: Mingliang Liu <lium...@apache.org>
Committed: Tue Dec 6 09:12:11 2016 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/43cb1678/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
----------------------------------------------------------------------
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
index 22a70fa..b845da0 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
@@ -273,7 +273,7 @@ public class DataNode extends ReconfigurableBase
         ", offset: %s" + // offset
         ", srvID: %s" +  // DatanodeRegistration
         ", blockid: %s" + // block id
-        ", duration: %s";  // duration time
+        ", duration(ns): %s";  // duration time
         
   static final Log ClientTraceLog =
     LogFactory.getLog(DataNode.class.getName() + ".clienttrace");


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to