Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6378

the javadoc of setEnabledTable maybe not describe accurately

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.0
    • 0.94.2
    • master
    • None
    • Reviewed

    Description

      /**

      • 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.

      Attachments

        1. 6378.patch
          0.7 kB
          zhou wenjian
        2. HBASE-6378.patch
          0.7 kB
          zhou wenjian
        3. HBASE-6378-trunk.patch
          0.7 kB
          Zhou wenjian

        Activity

          People

            dsw David S. Wang
            zhou wenjian zhou wenjian
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: