[
https://issues.apache.org/jira/browse/HADOOP-16581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935214#comment-16935214
]
Masatake Iwasaki commented on HADOOP-16581:
-------------------------------------------
[~xkrogen] branch-2 build failed due to lambda left in the backported fix.
{noformat}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
(default-testCompile) on project hadoop-common: Compilation failure
[ERROR]
/ext/srcs/hadoop-branch-2/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/key/TestValueQueue.java:[67,33]
lambda expressions are not supported in -source 1.7
[ERROR] (use -source 8 or higher to enable lambda expressions)
{noformat}
> 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]