From 43cb1678cc000b1fbf8b813ee14ecef19b86a55c Mon Sep 17 00:00:00 2001 From: Mingliang Liu Date: Tue, 6 Dec 2016 09:12:11 -0800 Subject: [PATCH] HDFS-11211. Add a time unit to the DataNode client trace format. Contributed by Jagadesh Kiran N --- .../java/org/apache/hadoop/hdfs/server/datanode/DataNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 22a70faaac..b845da0bc6 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");