You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by za...@apache.org on 2022/10/28 08:31:47 UTC

[hadoop] branch trunk updated: HDFS-16802.Print options when accessing ClientProtocol#rename2(). (#5013)

This is an automated email from the ASF dual-hosted git repository.

zanderxu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 88f7f5bc015 HDFS-16802.Print options when accessing ClientProtocol#rename2(). (#5013)
88f7f5bc015 is described below

commit 88f7f5bc015d7ba48556d4d9625faccd7622836a
Author: jianghuazhu <74...@qq.com>
AuthorDate: Fri Oct 28 16:31:20 2022 +0800

    HDFS-16802.Print options when accessing ClientProtocol#rename2(). (#5013)
    
    Reviewed-by: Tao Li <to...@apache.org>
    Reviewed-by: Wei-Chiu Chuang <we...@apache.org>
    Signed-off-by: Zander Xu <za...@apache.org>
---
 .../java/org/apache/hadoop/hdfs/server/namenode/FSDirRenameOp.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/namenode/FSDirRenameOp.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirRenameOp.java
index 8f7db1a06e7..64bc46d9016 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirRenameOp.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirRenameOp.java
@@ -248,8 +248,8 @@ class FSDirRenameOp {
     String src = srcArg;
     String dst = dstArg;
     if (NameNode.stateChangeLog.isDebugEnabled()) {
-      NameNode.stateChangeLog.debug("DIR* NameSystem.renameTo: with options -" +
-          " " + src + " to " + dst);
+      NameNode.stateChangeLog.debug("DIR* NameSystem.renameTo: with options={} {} to {}",
+          Arrays.toString(options), src, dst);
     }
 
     BlocksMapUpdateInfo collectedBlocks = new BlocksMapUpdateInfo();


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