[
https://issues.apache.org/jira/browse/HADOOP-14329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15977259#comment-15977259
]
Hrishikesh Gadre commented on HADOOP-14329:
-------------------------------------------
[~arpitagarwal]
bq. could you please help clarify what is being leaked?
Apache Solr uses MiniDFS framework in the unit tests to verify integration with
Hadoop (primarily HDFS and auth framework). The Solr test framework checks for
thread leakages. If any thread leakage is found, the test fails. We found bunch
of Solr test failures with Hadoop 3 alpha2. All these tests are failing due to
leakage of thread named "RollingAverages-0" which I believe is instantiated by
the RollingAverages metric implementation.
> 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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]