hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chunhui shen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6227) SSH and cluster startup causes data loss
Date Mon, 18 Jun 2012 03:56:44 GMT

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

chunhui shen updated HBASE-6227:
--------------------------------

    Description: 
In AssignmentManager#processDeadServersAndRegionsInTransition, if servershutdownhandler is
processing and master consider it cluster startup, master will assign all user regions, however,
servershutdownhandler has not completed splitting logs.

Detail process as the following( 1 master, 1 regionserver):
1.All the servers are killed
2.master start up, regionserver's zk node exists, so master will record it
3.master won't split any logs
4.regionserver start up, and master assign root and meta
5.the old regionserver is in SSH now, when rebuild user region, no region is added in master's
region list
6.master consider it is cluster up, so it will assign all user regions
7.However, some region's data is in logs which are splittting by SSH


  was:
In AssignmentManager#processDeadServersAndRegionsInTransition, if servershutdownhandler is
processing and master consider it cluster startup, master will assign all user regions, however,
servershutdownhandler has not completed splitting logs.

Detail process as the following( 1 master, 1 regionservers):
1.All the servers are killed
2.master start up, regionserver's zk node exists, so master will record it
3.master won't split any logs
4.regionserver start up, and master assign root and meta
5.the old regionserver is in SSH now, when rebuild user region, no region is added in master's
region list
6.master consider it is cluster up, so it will assign all user regions
7.However, some region's data is in logs which are splittting by SSH


    
> SSH and cluster startup  causes data loss
> -----------------------------------------
>
>                 Key: HBASE-6227
>                 URL: https://issues.apache.org/jira/browse/HBASE-6227
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>            Reporter: chunhui shen
>            Assignee: chunhui shen
>
> In AssignmentManager#processDeadServersAndRegionsInTransition, if servershutdownhandler
is processing and master consider it cluster startup, master will assign all user regions,
however, servershutdownhandler has not completed splitting logs.
> Detail process as the following( 1 master, 1 regionserver):
> 1.All the servers are killed
> 2.master start up, regionserver's zk node exists, so master will record it
> 3.master won't split any logs
> 4.regionserver start up, and master assign root and meta
> 5.the old regionserver is in SSH now, when rebuild user region, no region is added in
master's region list
> 6.master consider it is cluster up, so it will assign all user regions
> 7.However, some region's data is in logs which are splittting by SSH

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message