From f193d966275fea38da7a12a0915e2821853efb87 Mon Sep 17 00:00:00 2001 From: arp Date: Thu, 18 Sep 2014 11:13:53 -0700 Subject: [PATCH] HDFS-7084. FsDatasetImpl#copyBlockFiles debug log can be improved. (Contributed by Xiaoyu Yao) Conflicts: hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-6581.txt --- .../hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java index e243852328c..83d94a36d19 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java @@ -724,8 +724,8 @@ class FsDatasetImpl implements FsDatasetSpi { throw new IOException("Failed to copy " + srcFile + " to " + dstFile, e); } if (LOG.isDebugEnabled()) { - LOG.debug("addBlock: Moved " + srcMeta + " to " + dstMeta); - LOG.debug("addBlock: Moved " + srcFile + " to " + dstFile); + LOG.debug("Copied " + srcMeta + " to " + dstMeta); + LOG.debug("Copied " + srcFile + " to " + dstFile); } return new File[] {dstMeta, dstFile}; }