[
https://issues.apache.org/jira/browse/HBASE-6378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412499#comment-13412499
]
zhou wenjian commented on HBASE-6378:
-------------------------------------
In 90 and 92 this function will delete the node in zk, But changed since 94?
The javadoc puzzled me,because I found node in zk still exists when creating
table down
> 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.1
>
>
> /**
> * 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