[
https://issues.apache.org/jira/browse/HBASE-13668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Purtell updated HBASE-13668:
-----------------------------------
Attachment: HBASE-13668-0.98.patch
HBASE-13668-branch-1.patch
HBASE-13668.patch
I cleaned up the unit test in general, but the observed problems were confined
to 0.98 code.
On that branch FlushRegionEntry used System.currentTimeMillis instead of
EnvironmentEdgeManager in some places, and EnvironmentEdgeManager in others. I
didn't catch that right away. So, we'd flake whenever creation of 'other' was
ahead in system clock time from when 'entry' was created. I've fixed that in
the 0.98 patch here. The other patches are just the test improvements.
> TestFlushRegionEntry is flaky
> -----------------------------
>
> Key: HBASE-13668
> URL: https://issues.apache.org/jira/browse/HBASE-13668
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.13
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Minor
> Fix For: 2.0.0, 0.98.13, 1.0.2, 1.1.1
>
> Attachments: HBASE-13668-0.98.patch, HBASE-13668-branch-1.patch,
> HBASE-13668.patch
>
>
> {noformat}
> Flaked tests:
> org.apache.hadoop.hbase.regionserver.TestFlushRegionEntry.test
> (org.apache.hadoop.hbase.regionserver.TestFlushRegionEntry)
> Run 1: TestFlushRegionEntry.test:41 expected:
>
> org.apache.hadoop.hbase.regionserver.MemStoreFlusher$FlushRegionEntry<[flush
> region null]>
> but was:
>
> org.apache.hadoop.hbase.regionserver.MemStoreFlusher$FlushRegionEntry<[flush
> region null]>
> Run 2: PASS
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)