[
https://issues.apache.org/jira/browse/HBASE-21426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16883646#comment-16883646
]
Xiaolin Ha commented on HBASE-21426:
------------------------------------
At the last assertion,
{code:java}
List<Path> compactedPaths = findCompactedStorefilePaths(htd.getTableName());
assertTrue(compactedPaths.size() > 0);
for (Path path: compactedPaths) {
assertTrue("Store file " + path + " retains initial key",
Bytes.equals(initialCFKey.getEncoded(), extractHFileKey(path)));
}
{code}
it may fail at
{code:java}
assertTrue(compactedPaths.size() > 0);{code}
because the default period of compaction discharger is 2min, which may clear
compacted files after compaction but before this assertion.
> TestEncryptionKeyRotation.testCFKeyRotation is flakey
> -----------------------------------------------------
>
> Key: HBASE-21426
> URL: https://issues.apache.org/jira/browse/HBASE-21426
> Project: HBase
> Issue Type: Bug
> Reporter: Xiaolin Ha
> Assignee: Xiaolin Ha
> Priority: Major
> Attachments: testCFKeyRotation [Jenkins test result].pdf
>
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)