[
https://issues.apache.org/jira/browse/HADOOP-10720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arun Suresh updated HADOOP-10720:
---------------------------------
Attachment: HADOOP-10720.2.patch
[~tucu00], Updated with your suggestions. Thanks for the pointer on using Guava
{{Cache}} instead of {{ConcurrentHashMap}}.
bq. KMSClientProvider.java, keyQueueFiller runnable, the for loop should clone
the keyQueues.entry(), even if the Map is a concurrent one.
cloning the Entry object does not seem to be possible, so I made a copy of the
Map before iterating. If the number of keys are really large, this might take a
slight perf hit I guess..
> KMS: Implement generateEncryptedKey and decryptEncryptedKey in the REST API
> ---------------------------------------------------------------------------
>
> Key: HADOOP-10720
> URL: https://issues.apache.org/jira/browse/HADOOP-10720
> Project: Hadoop Common
> Issue Type: Improvement
> Components: security
> Affects Versions: 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Arun Suresh
> Attachments: COMBO.patch, COMBO.patch, COMBO.patch, COMBO.patch,
> COMBO.patch, HADOOP-10720.1.patch, HADOOP-10720.2.patch, HADOOP-10720.patch,
> HADOOP-10720.patch, HADOOP-10720.patch, HADOOP-10720.patch, HADOOP-10720.patch
>
>
> KMS client/server should implement support for generating encrypted keys and
> decrypting them via the REST API being introduced by HADOOP-10719.
--
This message was sent by Atlassian JIRA
(v6.2#6252)