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

Erik Krogen commented on HADOOP-16581:
--------------------------------------

Also backported to branch-3.2, branch-3.1, and branch-2. There was a minor 
change I needed to make to the test case in branch-2 due to the lack of Java 8 
support (removed the lambda, made some parameters final). Thanks [~yuvaldeg]!

> ValueQueue does not trigger an async refill when number of values falls below 
> watermark
> ---------------------------------------------------------------------------------------
>
>                 Key: HADOOP-16581
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16581
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common, kms
>    Affects Versions: 2.7.4, 3.2.0
>            Reporter: Yuval Degani
>            Assignee: Yuval Degani
>            Priority: Major
>             Fix For: 2.10.0, 3.3.0, 3.1.4, 3.2.2
>
>
> The ValueQueue facility was designed to cache EDEKs for KMS KeyProviders so 
> that EDEKs could be served quickly, while the cache is replenished in a 
> background thread.
> The existing code for triggering an asynchronous refill is only triggered 
> when a key queue becomes empty, rather than when it falls below the 
> configured watermark.
> This is a relatively minor fix in the main code, however, most of the tests 
> require some changes as they verify the previous unintended behavior.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to