[ 
https://issues.apache.org/jira/browse/HBASE-29236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940027#comment-17940027
 ] 

Duo Zhang commented on HBASE-29236:
-----------------------------------

You could see org.apache.hadoop.hbase.master.MasterStateStore and its sub 
classes for more details.

> 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
>            Priority: Major
>
> 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)

Reply via email to