You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhou wenjian (JIRA)" <ji...@apache.org> on 2012/08/06 14:11:05 UTC
[jira] [Updated] (HBASE-6378) the javadoc of setEnabledTable maybe
not describe accurately
[ https://issues.apache.org/jira/browse/HBASE-6378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhou wenjian updated HBASE-6378:
--------------------------------
Attachment: HBASE-6378-trunk.patch
> 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, HBASE-6378-trunk.patch, HBASE-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