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

Rushabh S Shah commented on HDFS-11885:
---------------------------------------

bq. The patch applies almost cleanly in branch-2.8 but compilation is failing 
with the following error.
This is because the {{javac.version}} is 1.7 in branch-2.8 and 1.8 in trunk.
In 1.8, java automatically casts {{java.lang.Object}} to whatever the method 
expects.
There are couple of options.
1. Have a different patch for branch-2.8 
2. Change the trunk patch to explicitly type casts to whatever the method 
expects.
I would prefer option#2 since that way there would be minimum difference 
between branch-2.8 and trunk. But I will leave it upto you.

> createEncryptionZone should not block on initializing EDEK cache
> ----------------------------------------------------------------
>
>                 Key: HDFS-11885
>                 URL: https://issues.apache.org/jira/browse/HDFS-11885
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: encryption
>    Affects Versions: 2.6.5
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>            Priority: Critical
>         Attachments: HDFS-11885.001.patch, HDFS-11885.002.patch
>
>
> When creating an encryption zone, we call {{ensureKeyIsInitialized}}, which 
> calls {{provider.warmUpEncryptedKeys(keyName)}}. This is a blocking call, 
> which attempts to fill the key cache up to the low watermark.
> If the KMS is down or slow, this can take a very long time, and cause the 
> createZone RPC to fail with a timeout.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to