[jira] [Commented] (HBASE-12138) preMasterInitialization() cp hook at wrong place

2014-10-01 Thread Anoop Sam John (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-12138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14154481#comment-14154481
 ] 

Anoop Sam John commented on HBASE-12138:


{code}
/**
   * Call before the master initialization is set to true.
   * {@link org.apache.hadoop.hbase.master.HMaster} process.
   */
  void preMasterInitialization(final 
ObserverContextMasterCoprocessorEnvironment ctx)
  throws IOException;
{code}
To be called just before this finalization of init. Not before all the steps in 
the init.

 preMasterInitialization() cp hook at wrong place
 

 Key: HBASE-12138
 URL: https://issues.apache.org/jira/browse/HBASE-12138
 Project: HBase
  Issue Type: Bug
  Components: master
Affects Versions: 0.98.6
Reporter: Virag Kothari
Assignee: Virag Kothari
 Attachments: HBASE-12138.patch






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


[jira] [Commented] (HBASE-12138) preMasterInitialization() cp hook at wrong place

2014-10-01 Thread Virag Kothari (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-12138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14154500#comment-14154500
 ] 

Virag Kothari commented on HBASE-12138:
---

Hmm. I thought it was a bug. I wanted to use some hook before master starts 
doing any heavy activity like assignment. May be I need to create something 
like preStartMaster()
Thanks for the quick look. Marking as invalid.

 preMasterInitialization() cp hook at wrong place
 

 Key: HBASE-12138
 URL: https://issues.apache.org/jira/browse/HBASE-12138
 Project: HBase
  Issue Type: Bug
  Components: master
Affects Versions: 0.98.6
Reporter: Virag Kothari
Assignee: Virag Kothari
 Attachments: HBASE-12138.patch






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