[
https://issues.apache.org/jira/browse/HDFS-17783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953967#comment-17953967
]
ASF GitHub Bot commented on HDFS-17783:
---------------------------------------
hfutatzhanghb commented on code in PR #7686:
URL: https://github.com/apache/hadoop/pull/7686#discussion_r2106405303
##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/ThreadLocalContext.java:
##########
@@ -75,6 +75,7 @@ public ThreadLocalContext() {
* that the task execution reflects the state of the original calling thread.
*/
public void transfer() {
+ Server.getCurCall().set(null);
Review Comment:
Here is a screenshot which can better explain this case.

> [ARR] Optimize the debug log of method asyncIpcClient to print concrete call
> info
> ---------------------------------------------------------------------------------
>
> Key: HDFS-17783
> URL: https://issues.apache.org/jira/browse/HDFS-17783
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: rbf
> Reporter: farmmamba
> Assignee: farmmamba
> Priority: Minor
> Labels: pull-request-available
> Attachments: image-2025-05-14-10-11-43-575.png
>
>
> Currently, the debug log in method asyncIpcClient can not print the RpcCall
> information such as callId. clientIp, clientPort, callercontext. etc.
> It print lambda expression object now which is not what we expected.
>
> !image-2025-05-14-10-11-43-575.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]