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 "Ayush Saxena (Jira)" <ji...@apache.org> on 2023/06/05 09:06:00 UTC
[jira] [Resolved] (HDFS-17028) RBF: Optimize debug logs of class ConnectionPool and other related class.
[ https://issues.apache.org/jira/browse/HDFS-17028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena resolved HDFS-17028.
---------------------------------
Fix Version/s: 3.4.0
Hadoop Flags: Reviewed
Resolution: Fixed
> RBF: Optimize debug logs of class ConnectionPool and other related class.
> -------------------------------------------------------------------------
>
> Key: HDFS-17028
> URL: https://issues.apache.org/jira/browse/HDFS-17028
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: rbf
> Affects Versions: 3.3.4
> Reporter: farmmamba
> Assignee: farmmamba
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.4.0
>
>
> When we change the log level of RouterRpcClient from INFO to DEBUG to figure out which connection an user is using. We found logs below:
>
> {code:java}
> 2023-05-29 09:46:09,033 DEBUG org.apache.hadoop.hdfs.server.federation.router.RouterRpcClient: User someone NN ANN:8020 is using connection ClientNamenodeProtocolTranslatorPB@ANN/ANN_IP:8020x3
> 2023-05-29 09:46:09,037 DEBUG org.apache.hadoop.hdfs.server.federation.router.RouterRpcClient: User someone NN ANN:8020 is using connection ClientNamenodeProtocolTranslatorPB@ANN/ANN_IP:8020x1
> 2023-05-29 09:46:09,037 DEBUG org.apache.hadoop.hdfs.server.federation.router.RouterRpcClient: User someone NN ANN:8020 is using connection ClientNamenodeProtocolTranslatorPB@ANN/ANN_IP:8020x2
> 2023-05-29 09:46:09,037 DEBUG org.apache.hadoop.hdfs.server.federation.router.RouterRpcClient: User someone NN ANN:8020 is using connection ClientNamenodeProtocolTranslatorPB@ANN/ANN_IP:8020x3
> 2023-05-29 09:46:09,042 DEBUG org.apache.hadoop.hdfs.server.federation.router.RouterRpcClient: User someone NN ANN:8020 is using connection ClientNamenodeProtocolTranslatorPB@ANN/ANN_IP:8020x0 {code}
> It seems not very clear for us to figure out which connection user is using. Therefore, i think we should optimize the toString method of class ConnectionContext.
--
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