[ https://issues.apache.org/jira/browse/HBASE-6378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412797#comment-13412797 ]
stack commented on HBASE-6378: ------------------------------ Is the javadoc same in 0.94 and trunk? IIRC, we used to have absence of znode mean table ENABLED but I think we changed it so always had to be a znode. I can dig if necessary. > 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