[
https://issues.apache.org/jira/browse/HDFS-16802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616880#comment-17616880
]
ASF GitHub Bot commented on HDFS-16802:
---------------------------------------
jianghuazhu opened a new pull request, #5013:
URL: https://github.com/apache/hadoop/pull/5013
### Description of PR
When accessing ClientProtocol#rename2(), we cannot see options in the log.
The purpose of this PR is to improve it as much as possible.
Details: HDFS-16802
### How was this patch tested?
Not too stressful for testing.
> 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: [email protected]
For additional commands, e-mail: [email protected]