[ https://issues.apache.org/jira/browse/HADOOP-15909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16942098#comment-16942098
]
Wei-Chiu Chuang commented on HADOOP-15909:
------------------------------------------
Commit still applies in branch-3.1 and branch-3.2.
Cherrypicking it into the two branches.
> KeyProvider class should implement Closeable
> --------------------------------------------
>
> Key: HADOOP-15909
> URL: https://issues.apache.org/jira/browse/HADOOP-15909
> Project: Hadoop Common
> Issue Type: Improvement
> Components: kms
> Affects Versions: 3.0.3, 2.8.5
> Reporter: Kuhu Shukla
> Assignee: Kuhu Shukla
> Priority: Major
> Fix For: 3.3.0
>
> Attachments: HADOOP-15909.001.patch
>
>
> KeyProviders and the extensions have close() methods. The classes should implement Closeable
that will allow try-with-resources to work and help catch original exceptions instead of finally
blocks and exception masking that follows that.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org
|