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

stack commented on HBASE-9241:
------------------------------

Is the new method being interjected at the right location?

     status.markComplete("Initialization successful");
     LOG.info("Master has completed initialization");
+    if (this.cpHost != null) {
+      try {
+        this.cpHost.preMasterInitialization();

The above says initialization copmleted and then we call 
premasterinitialization?  I'd think this method would be called before the 
master initialization given its name?
                
> Add cp hook before initialize variable set to true in master intialization
> --------------------------------------------------------------------------
>
>                 Key: HBASE-9241
>                 URL: https://issues.apache.org/jira/browse/HBASE-9241
>             Project: HBase
>          Issue Type: Sub-task
>          Components: master
>            Reporter: rajeshbabu
>            Assignee: rajeshbabu
>         Attachments: HBASE-9241.patch
>
>
> This hook helps in following cases.
> 1) When we are creating indexed table then there is a chance that master can 
> go down after successful creation of user table but index table creation not 
> yet started.
> This hook helps to find such cases and create missing index table.
> 2) if any case there are mismatches in colocation of user and index regions 
> we can run balancer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to