hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayush Saxena (Jira)" <j...@apache.org>
Subject [jira] [Created] (HDFS-15094) RBF : Reuse ugi string in ConnectionID
Date Mon, 06 Jan 2020 13:09:00 GMT
Ayush Saxena created HDFS-15094:

             Summary: RBF : Reuse ugi string in ConnectionID
                 Key: HDFS-15094
                 URL: https://issues.apache.org/jira/browse/HDFS-15094
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Ayush Saxena
            Assignee: Ayush Saxena

The connectionID 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

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

View raw message