[
https://issues.apache.org/jira/browse/HBASE-6378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413883#comment-13413883
]
David S. Wang commented on HBASE-6378:
--------------------------------------
>From the patch:
+ * Sets the ENABLED state in the cache and Creates or force updates an node
to
+ * the ENABLED state for the specified table.
I'd modify the above to be:
+ * Sets the ENABLED state in the cache and creates or force updates a node to
+ * ENABLED state for the specified table.
> the javadoc of setEnabledTable maybe not describe accurately
> --------------------------------------------------------------
>
> Key: HBASE-6378
> URL: https://issues.apache.org/jira/browse/HBASE-6378
> Project: HBase
> Issue Type: Bug
> Components: master
> Affects Versions: 0.94.0
> Reporter: zhou wenjian
> Fix For: 0.94.2
>
> Attachments: 6378.patch
>
>
> /**
> * Sets the ENABLED state in the cache and deletes the zookeeper node. Fails
> * silently if the node is not in enabled in zookeeper
> *
> * @param tableName
> * @throws KeeperException
> */
> public void setEnabledTable(final String tableName) throws KeeperException {
> setTableState(tableName, TableState.ENABLED);
> }
> When setEnabledTable occours ,It will update the cache and the zookeeper
> node,rather than to delete the zk node.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira