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

Hudson commented on HDFS-7718:
------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #97 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/97/])
HDFS-7718. Store KeyProvider in ClientContext to avoid leaking key provider 
threads when using FileContext (Arun Suresh via Colin P. McCabe) (cmccabe: rev 
02340a24f211212b91dc7380c1e5b54ddb5e82eb)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestEncryptionZonesWithKMS.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestEncryptionZones.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/KeyProviderCache.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestKeyProviderCache.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestEncryptionZonesWithHA.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ClientContext.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/resources/META-INF/services/org.apache.hadoop.crypto.key.KeyProviderFactory
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestReservedRawPaths.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> Store KeyProvider in ClientContext to avoid leaking key provider threads when 
> using FileContext
> -----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-7718
>                 URL: https://issues.apache.org/jira/browse/HDFS-7718
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7718.1.patch, HDFS-7718.2.patch, HDFS-7718.3.patch, 
> HDFS-7718.3.patch
>
>
> Currently, the {{FileContext}} class used by clients such as (for eg. 
> {{YARNRunner}}) creates a new {{AbstractFilesystem}} object on 
> initialization.. which creates a new {{DFSClient}} object.. which in turn 
> creates a KeyProvider object.. If Encryption is turned on, and https is 
> turned on, the keyprovider implementation (the {{KMSClientProvider}}) will 
> create a {{ReloadingX509TrustManager}} thread per instance... which are never 
> killed and can lead to a thread leak



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

Reply via email to