[jira] [Created] (HADOOP-14329) Thread leakage in Hadoop RollingAverages metric collection

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Created] (HADOOP-14329) Thread leakage in Hadoop RollingAverages metric collection

JIRA jira@apache.org
Hrishikesh Gadre created HADOOP-14329:
-----------------------------------------

             Summary: Thread leakage in Hadoop RollingAverages metric collection
                 Key: HADOOP-14329
                 URL: https://issues.apache.org/jira/browse/HADOOP-14329
             Project: Hadoop Common
          Issue Type: Bug
          Components: metrics
    Affects Versions: 3.0.0-alpha2
            Reporter: Hrishikesh Gadre
            Priority: Minor


The rolling averages metric implementation defines a static ScheduledExecutorService instance which is not shutdown properly. This results in leaking the corresponding thread. This issue was identified while testing Solr/Hadoop 3 integration.

Here is the relevant portion of the code involved,
https://github.com/apache/hadoop/blob/c1549352cf1d1b1b45d7b613f993d45649b8efcf/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/RollingAverages.java#L65



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...