[
https://issues.apache.org/jira/browse/HBASE-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093432#comment-13093432
]
Ming Ma commented on HBASE-4271:
--------------------------------
After looking at the issue more, perhaps we don't want to honor preCreateTable
and other async table operations' request to bypass default action, at least
for now.
HBaseAdmin's createTable waits for the completion of the operation, so it
assumes the default action will take place. If coprocessor bypasses the default
action, HBaseAdmin just wait there.
If we really need this, we can modify HMasterInterface::createTable to pass a
flag indicating if HBaseAdmin should wait or not. At this point, given there is
no requirement, we can keep the interface and not to honor bypass for
createTable, etc.
> Clean up coprocessor's handlings of table operations
> ----------------------------------------------------
>
> Key: HBASE-4271
> URL: https://issues.apache.org/jira/browse/HBASE-4271
> Project: HBase
> Issue Type: Bug
> Reporter: Ming Ma
> Assignee: Ming Ma
>
> Couple fixes we can do w.r.t coprocessor's handlings of table operations.
> 1. Honor MasterObserver's requests to bypass default action.
> 2. Fix up the function signatures for preCreateTable to use HRegionInfo as
> parameter instead.
> 3. Invoke postEnableTable, etc. methods after the operations are done.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira