[ 
https://issues.apache.org/jira/browse/HBASE-20940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16567550#comment-16567550
 ] 

Andrew Purtell commented on HBASE-20940:
----------------------------------------

When I apply the patch to master TestSplitTransactionOnCluster fails:
{noformat}
[ERROR] Tests run: 9, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 77.96 s 
<<< FAILURE! - in 
org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster
[ERROR] 
testShutdownFixupWhenDaughterHasSplit(org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster)
  Time elapsed: 17.235 s  <<< FAILURE!
java.lang.AssertionError: Waiting for reference to be compacted
        at 
org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster.testShutdownFixupWhenDaughterHasSplit(TestSplitTransactionOnCluster.java:403)

[ERROR] 
testMasterRestartAtRegionSplitPendingCatalogJanitor(org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster)
  Time elapsed: 13.27 s  <<< FAILURE!
java.lang.AssertionError
        at 
org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster.testMasterRestartAtRegionSplitPendingCatalogJanitor(TestSplitTransactionOnCluster.java:541)
{noformat}

Please run the complete unit test suite and ensure all tests are passing. 


> HStore.cansplit should not allow split to happen if it has references
> ---------------------------------------------------------------------
>
>                 Key: HBASE-20940
>                 URL: https://issues.apache.org/jira/browse/HBASE-20940
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Vishal Khandelwal
>            Assignee: Vishal Khandelwal
>            Priority: Major
>             Fix For: 1.3.2
>
>         Attachments: HBASE-20940.branch-1.3.v1.patch, 
> HBASE-20940.branch-1.3.v2.patch, HBASE-20940.branch-1.v1.patch, 
> HBASE-20940.v1.patch
>
>
> When split happens and immediately another split happens, it may result into 
> a split of a region who still has references to its parent. More details 
> about scenario can be found here HBASE-20933
> HStore.hasReferences should check from fs.storefile rather than in memory 
> objects.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to