You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Heng Chen (JIRA)" <ji...@apache.org> on 2016/03/09 06:07:40 UTC

[jira] [Comment Edited] (HBASE-15406) Split / merge switch left disabled after early termination of hbck

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

Heng Chen edited comment on HBASE-15406 at 3/9/16 5:06 AM:
-----------------------------------------------------------

This is my plan.

When some tool (for example, hbck) running,  it will create an ephemeral znode. We record the tool's state in this znode.  Meaning while master will be notified that there is some kind tool's ephemeral znode was created (we can call it the tool's lease) and master will watch it. 

When the tool abort,  znode will be deleted and master will do rollback according to the tool's type and state.  Currently we can implement the first tool logic "hbck". 

wdyt?  [~tedyu]


was (Author: chenheng):
This is my plan.

When some tool (for example, hbck) running,  it will create an ephemeral znode. We record the tool's state in this znode.  Meaning while master will be noticed that there is some kind tool's ephemeral znode was created (we can call it the tool's lease) and master will watch it. 

When the tool abort,  znode will be deleted and master will do rollback according to the tool's type and state.  Currently we can implement the first tool logic "hbck". 

wdyt?  [~tedyu]

> Split / merge switch left disabled after early termination of hbck
> ------------------------------------------------------------------
>
>                 Key: HBASE-15406
>                 URL: https://issues.apache.org/jira/browse/HBASE-15406
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Critical
>             Fix For: 2.0.0, 1.3.0, 1.4.0
>
>         Attachments: HBASE-15406.v1.patch
>
>
> This was what I did on cluster with 1.4.0-SNAPSHOT built Thursday:
> Run 'hbase hbck -disableSplitAndMerge' on gateway node of the cluster
> Terminate hbck early
> Enter hbase shell where I observed:
> {code}
> hbase(main):001:0> splitormerge_enabled 'SPLIT'
> false
> 0 row(s) in 0.3280 seconds
> hbase(main):002:0> splitormerge_enabled 'MERGE'
> false
> 0 row(s) in 0.0070 seconds
> {code}
> Expectation is that the split / merge switches should be restored to default value after hbck exits.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)