hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Yan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13230) RBF: ConnectionManager's cleanup task will compare each pool's own active conns with its total conns
Date Mon, 05 Mar 2018 18:01:00 GMT
Wei Yan created HDFS-13230:
------------------------------

             Summary: RBF: ConnectionManager's cleanup task will compare each pool's own active
conns with its total conns
                 Key: HDFS-13230
                 URL: https://issues.apache.org/jira/browse/HDFS-13230
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Wei Yan


In the cleanup task:
{code:java}
long timeSinceLastActive = Time.now() - pool.getLastActiveTime();
int total = pool.getNumConnections();
int active = getNumActiveConnections();
if (timeSinceLastActive > connectionCleanupPeriodMs ||
{code}
the 3rd line should be pool.getNumActiveConnections()

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message