You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2022/10/13 08:33:00 UTC

[jira] [Commented] (HDFS-16802) Print options when accessing ClientProtocol#rename2()

    [ https://issues.apache.org/jira/browse/HDFS-16802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616873#comment-17616873 ] 

JiangHua Zhu commented on HDFS-16802:
-------------------------------------

New log format:

{code:java}
2022-10-13 12:11:38,813 [Listener at localhost/58086] DEBUG hdfs.StateChange (FSDirRenameOp.java:renameToInt(256)) - DIR* NameSystem.renameTo: with options - /testNamenodeRetryCache/testRename2/src to /testNamenodeRetryCache /testRename2/target, options=[NONE]
{code}


> Print options when accessing ClientProtocol#rename2()
> -----------------------------------------------------
>
>                 Key: HDFS-16802
>                 URL: https://issues.apache.org/jira/browse/HDFS-16802
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 3.3.4
>            Reporter: JiangHua Zhu
>            Assignee: JiangHua Zhu
>            Priority: Minor
>
> When accessing ClientProtocol#rename2(), the carried options cannot be seen in the log. Here is some log information:
> {code:java}
> 2022-10-13 10:21:10,727 [Listener at localhost/59732] DEBUG  hdfs.StateChange (FSDirRenameOp.java:renameToInt(255)) - DIR* NameSystem.renameTo: with options - /testNamenodeRetryCache/testRename2/src to /testNamenodeRetryCache/testRename2/target
> {code}
> We should improve this, maybe printing options would be better.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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