hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Liang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14329) Thread leakage in Hadoop RollingAverages metric collection
Date Wed, 19 Apr 2017 23:57:04 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-14329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Chen Liang updated HADOOP-14329:
    Attachment: HADOOP-14329.001.patch

Post v001 patch to shut down these executors. 

All [~xyao] mentioned have been addressed, except for {{DiskBalancer#scheduler}} which I think
is eventually shut down in {{DiskBalancer#shudwon()}} and {{DiskBalancer#shutdownExecutor}}.

> 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
>            Assignee: Chen Liang
>            Priority: Minor
>              Labels: newbie
>         Attachments: HADOOP-14329.001.patch
> 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

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

View raw message