[
https://issues.apache.org/jira/browse/HDFS-12458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiao Chen updated HDFS-12458:
-----------------------------
Attachment: HDFS-12458.01.patch
The direct failure of this is the updater was not paused, making it possible
that a task would slip in and get processed. Directly fixed by pausing the
updater before sending a re-encrypt command.
I was also looking at the re-encryption tests in general, and patch 1 includes
some improvements: (Since they're still related to the said test class, IMO we
can do them in this jira.)
- wait for mini cluster to come out of safemode, in addition to {{waitActive}}
- removed the change to re-encryption sleep interval, and notify directly
- {{TestReencryptionHandler}} in our internal infra is also failing at times.
Turns out it could run fast enough (within a millisecond), so we should check
for greater or equal to, instead of greater than.
> TestReencryptionWithKMS fails regularly
> ---------------------------------------
>
> Key: HDFS-12458
> URL: https://issues.apache.org/jira/browse/HDFS-12458
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: encryption, test
> Affects Versions: 3.0.0-beta1
> Reporter: Konstantin Shvachko
> Assignee: Xiao Chen
> Attachments: HDFS-12458.01.patch
>
>
> {{TestReencryptionWithKMS}} fails pretty often on Jenkins. Should fix it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]