You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andor Molnar (Jira)" <ji...@apache.org> on 2025/03/31 17:56:00 UTC

[jira] [Created] (HBASE-29236) Implement ZooKeeper watcher to add ability to flip R/O flag runtime

Andor Molnar created HBASE-29236:
------------------------------------

             Summary: Implement ZooKeeper watcher to add ability to flip R/O flag runtime
                 Key: HBASE-29236
                 URL: https://issues.apache.org/jira/browse/HBASE-29236
             Project: HBase
          Issue Type: Sub-task
          Components: Replication, Zookeeper
            Reporter: Andor Molnar


We'd like to implement a switch within hbase and expose as hbase shell command to flip the R/O flag on the fly without the need for restarting HBase.

Idea is to have a ZooKeeper znode which by default has the value read from hbase-site.xml file and all HBase nodes will monitor it for changes. HBase shell will be able to change the value of znode which will be detected by RSs and enable or disable write queries accordingly.

This change will not be reflected in hbase-site.xml, so user has to manually change config files if wants it to be persisted.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)