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

huaxiang sun commented on HBASE-20052:
--------------------------------------

+1, if the primary region does not exist , the replica region will be a 
non-existing replica region and it wont create fs layout for the primary region.

> TestRegionOpen#testNonExistentRegionReplica fails due to NPE
> ------------------------------------------------------------
>
>                 Key: HBASE-20052
>                 URL: https://issues.apache.org/jira/browse/HBASE-20052
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Major
>         Attachments: 20052.v1.txt, 20052.v2.txt
>
>
> After HBASE-19391 was integrated, the following test failure can be observed:
> {code}
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.hbase.regionserver.TestRegionOpen.testNonExistentRegionReplica(TestRegionOpen.java:122)
> {code}
> This was due null being returned from 
> HRegionFileSystem#createRegionOnFileSystem().



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

Reply via email to