hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13469) [branch-1.1] Procedure V2 - Make procedure v2 configurable in branch-1.1
Date Wed, 22 Apr 2015 17:18:59 GMT

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

Matteo Bertozzi updated HBASE-13469:
------------------------------------
      Resolution: Fixed
    Release Note: 
In 1.1 release, we implemented Procedure V2 to execute table DDL operations (create/delete/modify/truncate/enable/disable
table; add/delete/modify column) to replace 1.0 release's handler implementation. By default,
Procedure V2 feature is enabled in 1.1 release. We provide a config for customer to go back
to 1.0 release implementation.
The "hbase.master.procedure.tableddl" configuration accepts 2 values to change the behavior
(other values treats as default - Procedure "enabled"):
(1). "unused" 
(1a). uses handler implementation to execute new table DDLs; 
(1b).in case of unclean shutdown (crash), we could have unfinished DDLs in Procedure store,
Procedure code will replay those operations and completes them.
(2). "disabled" - (in case customer run into some problem and want to completely disable the
Procedure V2 feature), 
(2a). this value would use handler implementation to execute new table DDLs; 
(2b). in case of unclean shutdown (crash), we could have unfinished DDLs in Procedure store,
to prevent possible problem, the files in procedure store (WAL) will be deleted so that we
would get into a clean state when the Procedure is enabled.
Note: 
(A). This configuration is only checked during master start up (in constructor) - so you have
to re-start master after changing the value
(B). In case of crash and unclean shut down, HBCK is needed to clean up corruptions. "disable"
case has more chance to lead to half-completed operation and hence customer should not be
surprised when running HBCK is needed.
          Status: Resolved  (was: Patch Available)

> [branch-1.1] Procedure V2 - Make procedure v2 configurable in branch-1.1
> ------------------------------------------------------------------------
>
>                 Key: HBASE-13469
>                 URL: https://issues.apache.org/jira/browse/HBASE-13469
>             Project: HBase
>          Issue Type: Sub-task
>          Components: master
>    Affects Versions: 1.1.0
>            Reporter: Enis Soztutar
>            Assignee: Stephen Yuan Jiang
>             Fix For: 1.1.0
>
>         Attachments: HBASE-13469.v2-branch-1.1.patch
>
>
> In branch-1, I think we want proc v2 to be configurable, so that if any non-recoverable
issue is found, at least there is a workaround. We already have the handlers and code laying
around. It will be just introducing the config to enable / disable. We can even make it dynamically
configurable via the new framework. 



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

Mime
View raw message