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

Wellington Chevreuil commented on HBASE-22537:
----------------------------------------------

Hi [~sreenivasulureddy], confirmed this only happens on *branch-2.1* by 
executing your additional test provided in this patch. One thing I noticed is 
that even in *branch-2.1,* if I executed the whole test suite from 
*TestSplitOrMergeStatus,* test *testSplitRegionReplicaRitRecovery* passes, but 
if I run it individually, it fails. It seems this is because 
*TestSplitOrMergeStatus* defines _BeforeClass/AfterClass,_ but we need to 
run/shutdown mini cluster individually, for each test method. Can you change 
*TestSplitOrMergeStatus.setUpBeforeClass* and 
*TestSplitOrMergeStatus.t**earDownAfterClass* to non static, and to use 
_Before/After ++_junit annotations? We may need to rename those methods 
accordingly.

Also, I think this test would be good addition to other branches, to make sure 
we don't face a regression. Can you create patch versions including the 
additional test only, for both *master* and *branch-2* branches?

> Split happened Replica region can not be deleted after deleting table 
> successfully and restarting RegionServer
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-22537
>                 URL: https://issues.apache.org/jira/browse/HBASE-22537
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment
>    Affects Versions: 2.1.1
>            Reporter: Y. SREENIVASULU REDDY
>            Assignee: Y. SREENIVASULU REDDY
>            Priority: Minor
>             Fix For: 2.1.6
>
>         Attachments: HBASE-22537.branch-2.1.002.patch, 
> HBASE-22537.branch-2.1.003.patch, HBASE-22537.branch-2.1.patch
>
>
> [Test step]
> 1.create a table (set RegionReplication=2).
> 2.insert data to the table utill region be splitted.
> 3.Disable and Drop the table.
> 4.Parent replica region holding Regionserver, Kill forcefully 
> 5.HBase WebUI will show that the replica regions will be in RIT.
> [Expect Output]
> Parent replica region should be deleted.
> [Actual Output]
> Parent replica region still exists.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to