hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igloo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18625) Splitting of region with replica, doesn't update region list in serverHolding. A server crash leads to overlap.
Date Fri, 18 Aug 2017 06:11:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-18625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Igloo updated HBASE-18625:
--------------------------
    Description: 
The situation can appear in following steps in release hbase1.2.6

1. create 'testtable', 'info', {REGION_REPLICATION=>2}
2. write somerecords into 'testtable'
3. split the table 'testtable'
4. after the spliting, the serverHoldings in RegionStates still holds the regioninfo for the
replica of parent region
5. restart the regionserver where the parent replica-region located
6. the offlined replica of parent region will be assigned in ServerCrashProcedure. 

hbase hbck 'testtable‘

ERROR: Region { meta => null, hdfs => null, deployed => qabb-qa-hdp-hbase1,16020,1503022958093;testtable,,1503022907686_0001.42d11cfe195b3cc4d08b2c078a687f6d
   ., replicaId => 1 } not in META, but deployed on qabb-qa-hdp-hbase1,16020,1503022958093
 18 ERROR: No regioninfo in Meta or HDFS. { meta => null, hdfs => null, deployed =>
qabb-qa-hdp-hbase1,16020,1503022958093;testtable,,1503022907686_0001.42d11cfe    195b3cc4d08b2c078a687f6d.,
replicaId => 1 }





  was:
The situation can appear in following steps in release hbase1.2.6

1. create 'testtable', 'info', {REGION_REPLICATION=>2}
2. write somerecords into 'testtable'
3. split the table 'testtable'
4. after the spliting, the serverHoldings in RegionStates still holds the regioninfo for the
replica of parent region
5. restart the regionserver where the parent regions lo[link title|http://example.com]cated
6. the offlined replica of parent region will be assigned in ServerCrashProcedure. 

hbase hbck 'testtable‘

ERROR: Region { meta => null, hdfs => null, deployed => qabb-qa-hdp-hbase1,16020,1503022958093;testtable,,1503022907686_0001.42d11cfe195b3cc4d08b2c078a687f6d
   ., replicaId => 1 } not in META, but deployed on qabb-qa-hdp-hbase1,16020,1503022958093
 18 ERROR: No regioninfo in Meta or HDFS. { meta => null, hdfs => null, deployed =>
qabb-qa-hdp-hbase1,16020,1503022958093;testtable,,1503022907686_0001.42d11cfe    195b3cc4d08b2c078a687f6d.,
replicaId => 1 }






> Splitting of region with replica, doesn't update region list in serverHolding. A server
crash leads to overlap.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-18625
>                 URL: https://issues.apache.org/jira/browse/HBASE-18625
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 1.2.6
>            Reporter: Igloo
>             Fix For: 1.2.7
>
>
> The situation can appear in following steps in release hbase1.2.6
> 1. create 'testtable', 'info', {REGION_REPLICATION=>2}
> 2. write somerecords into 'testtable'
> 3. split the table 'testtable'
> 4. after the spliting, the serverHoldings in RegionStates still holds the regioninfo
for the replica of parent region
> 5. restart the regionserver where the parent replica-region located
> 6. the offlined replica of parent region will be assigned in ServerCrashProcedure. 
> hbase hbck 'testtable‘
> ERROR: Region { meta => null, hdfs => null, deployed => qabb-qa-hdp-hbase1,16020,1503022958093;testtable,,1503022907686_0001.42d11cfe195b3cc4d08b2c078a687f6d
   ., replicaId => 1 } not in META, but deployed on qabb-qa-hdp-hbase1,16020,1503022958093
>  18 ERROR: No regioninfo in Meta or HDFS. { meta => null, hdfs => null, deployed
=> qabb-qa-hdp-hbase1,16020,1503022958093;testtable,,1503022907686_0001.42d11cfe    195b3cc4d08b2c078a687f6d.,
replicaId => 1 }



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message