[
https://issues.apache.org/jira/browse/HDFS-15094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17011381#comment-17011381
]
Hudson commented on HDFS-15094:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #17836 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/17836/])
HDFS-15094. RBF: Reuse ugi string in ConnectionPoolID. Contributed by
(ayushsaxena: rev 8fe01db34afd681baa7f8d8d4a45bd080278f0f3)
* (edit)
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/ConnectionPoolId.java
> RBF: Reuse ugi string in ConnectionPoolID
> -----------------------------------------
>
> Key: HDFS-15094
> URL: https://issues.apache.org/jira/browse/HDFS-15094
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
> Fix For: 3.3.0
>
> Attachments: HDFS-15094-01.patch, HDFS-15094-02.patch,
> UGI_AFTER-01.PNG, UGI_BEFORE-01.PNG
>
>
> The connectionPoolID Hash Code and equals contains ugi.toString(), These
> methods are used as part of getConnection() in ConnectionManager as part of
> every call.
> The ugi.toString() eats up considerable amount of time, the Hash Calculation
> itself is ~10 percent of the total time of the call. And even more for the
> equals method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]