HDFS-16802.Print options when accessing ClientProtocol#rename2(). (#5013)
Reviewed-by: Tao Li <tomscut@apache.org> Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org> Signed-off-by: Zander Xu <zanderxu@apache.org>
This commit is contained in:
parent
8396caa484
commit
88f7f5bc01
@ -248,8 +248,8 @@ static RenameResult renameToInt(
|
|||||||
String src = srcArg;
|
String src = srcArg;
|
||||||
String dst = dstArg;
|
String dst = dstArg;
|
||||||
if (NameNode.stateChangeLog.isDebugEnabled()) {
|
if (NameNode.stateChangeLog.isDebugEnabled()) {
|
||||||
NameNode.stateChangeLog.debug("DIR* NameSystem.renameTo: with options -" +
|
NameNode.stateChangeLog.debug("DIR* NameSystem.renameTo: with options={} {} to {}",
|
||||||
" " + src + " to " + dst);
|
Arrays.toString(options), src, dst);
|
||||||
}
|
}
|
||||||
|
|
||||||
BlocksMapUpdateInfo collectedBlocks = new BlocksMapUpdateInfo();
|
BlocksMapUpdateInfo collectedBlocks = new BlocksMapUpdateInfo();
|
||||||
|
Loading…
Reference in New Issue
Block a user