HDFS-7084. FsDatasetImpl#copyBlockFiles debug log can be improved. (Contributed by Xiaoyu Yao)
This commit is contained in:
parent
849ccfa699
commit
5e4627d0fb
|
@ -54,4 +54,6 @@
|
||||||
|
|
||||||
HDFS-7080. Fix finalize and upgrade unit test failures. (Arpit Agarwal)
|
HDFS-7080. Fix finalize and upgrade unit test failures. (Arpit Agarwal)
|
||||||
|
|
||||||
|
HDFS-7084. FsDatasetImpl#copyBlockFiles debug log can be improved.
|
||||||
|
(Xiaoyu Yao via Arpit Agarwal)
|
||||||
|
|
||||||
|
|
|
@ -637,8 +637,8 @@ class FsDatasetImpl implements FsDatasetSpi<FsVolumeImpl> {
|
||||||
throw new IOException("Failed to copy " + srcFile + " to " + dstFile, e);
|
throw new IOException("Failed to copy " + srcFile + " to " + dstFile, e);
|
||||||
}
|
}
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug("addBlock: Moved " + srcMeta + " to " + dstMeta);
|
LOG.debug("Copied " + srcMeta + " to " + dstMeta);
|
||||||
LOG.debug("addBlock: Moved " + srcFile + " to " + dstFile);
|
LOG.debug("Copied " + srcFile + " to " + dstFile);
|
||||||
}
|
}
|
||||||
return new File[] {dstMeta, dstFile};
|
return new File[] {dstMeta, dstFile};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue