[
https://issues.apache.org/jira/browse/HBASE-19658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343745#comment-16343745
]
ramkrishna.s.vasudevan commented on HBASE-19658:
------------------------------------------------
I think after debugging I can clearly see what is happening. So you add three
big cells C, D and E. So after the second is added that time itself the in
memory flush Size is crossed. we schedule the
InMemoryFlushRunnable runnable = new InMemoryFlushRunnable();
By the time the runnable actually runs the 3rd cell also gets added in some
cases and hence you get issues in the size accounting.
By debug points you can make the test fail.
There are two ways to solve this issue.
Simplest way is only add cell C and D. You need not have E.
The other way is since the Compacting Memstore has been extended to
MycompactingMemstore try to override shouldFlushInMemory and ensure the actual
shouldFlushInMemory () is executed only after the 3rd cell is added. This
should solve this flakiness. Thanks.
> Fix and reenable
> TestCompactingToCellFlatMapMemStore#testFlatteningToJumboCellChunkMap
> --------------------------------------------------------------------------------------
>
> Key: HBASE-19658
> URL: https://issues.apache.org/jira/browse/HBASE-19658
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 2.0.0-beta-1
> Reporter: stack
> Assignee: Anastasia Braginsky
> Priority: Major
> Fix For: 2.0.0-beta-2
>
> Attachments: HBASE-19658-V01.patch, HBASE-19658-V02.patch,
> HBASE-19658-V03.patch, HBASE-19658-V04.patch, HBASE-19658-V05.patch,
> HBASE-19658.0007.patch, HBASE-19658.006.patch, HBASE-19658.05.patch,
> org.apache.hadoop.hbase.regionserver.TestCompactingToCellFlatMapMemStore-output.txt
>
>
> testFlatteningToJumboCellChunkMap was disabled so could commit HBASE-19282 on
> branch-2. This test is failing reliably. Assigned to [~anastas]. This issue
> is about fixing the failing test and reenabling it in time for beta-2. Thanks
> A.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)