hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11368) Fix SSLFactory truststore reloader thread leak in KMSClientProvider
Date Wed, 10 Dec 2014 15:55:21 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-11368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241291#comment-14241291
] 

Hudson commented on HADOOP-11368:
---------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1988 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1988/])
HADOOP-11368. Fix SSLFactory truststore reloader thread leak in KMSClientProvider. Contributed
by Arun Suresh. (wang: rev 74d4bfded98239507511dedb515bc6a54958d5a8)
* hadoop-common-project/hadoop-kms/src/test/java/org/apache/hadoop/crypto/key/kms/server/TestKMS.java
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/kms/KMSClientProvider.java


> Fix SSLFactory truststore reloader thread leak in KMSClientProvider
> -------------------------------------------------------------------
>
>                 Key: HADOOP-11368
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11368
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: kms
>    Affects Versions: 2.5.0
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-11368.1.patch
>
>
> When a {{KMSClientProvider}} is initialized in _ssl_ mode, It  initializes a {{SSLFactory}}
object. This in-turn creates an instance of {{ReloadingX509TrustManager}} which, on initialization,
starts a trust store reloader thread.
> It is noticed that over time, as a number of short lived {{KMSClientProvider}} instances
are created and destroyed, the trust store manager threads are not interrupted/killed and
remain in TIMED_WAITING state. A Thread dump shows multiple:
> {noformat}
> "Truststore reloader thread" daemon prio=10 tid=0x00007fb1cf942800 nid=0x4e99 waiting
on condition [0x00007fb0485f5000]
>    java.lang.Thread.State: TIMED_WAITING (sleeping)
>         at java.lang.Thread.sleep(Native Method)
>         at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.run(ReloadingX509TrustManager.java:189)
>         at java.lang.Thread.run(Thread.java:662)
>    Locked ownable synchronizers:
>         - None
> {noformat}
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message