[ https://issues.apache.org/jira/browse/HBASE-29236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Geiszler updated HBASE-29236: ----------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > Add Support for Dynamic Configuration at the Coprocessor Level > -------------------------------------------------------------- > > Key: HBASE-29236 > URL: https://issues.apache.org/jira/browse/HBASE-29236 > Project: HBase > Issue Type: Sub-task > Components: Replication > Reporter: Andor Molnar > Assignee: Kevin Geiszler > Priority: Major > Labels: pull-request-available > > We'd like to implement a switch within HBase and expose it as an HBase shell > command to flip the Read-Only flag on the fly without the need for restarting > HBase. > > Updated ticket description: > After some discussion, we decided to use Dynamic Configuration to flip this > R/O flag. The R/O flag is handled by the ReadOnlyController coprocessor. > Dynamic Configuration does not currently work with coprocessors, so this task > adds that support and also uses the ReadOnlyController as an example > implementation. > > Original ticket description: > 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)