Anuj Sharma created HBASE-29756:
-----------------------------------

             Summary: Programmatically register related co-processor during 
initialization
                 Key: HBASE-29756
                 URL: https://issues.apache.org/jira/browse/HBASE-29756
             Project: HBase
          Issue Type: Sub-task
            Reporter: Anuj Sharma
            Assignee: Anuj Sharma


Currently, when user wants to make cluster read-only, he has to add property
  <property>
    <name>hbase.global.readonly.enabled</name>
    <value>false</value>
  </property>
and coprocessors for master, region and region server as follows:
  <property>
    <name>hbase.coprocessor.master.classes</name>
    <value>org.apache.hadoop.hbase.security.access.ReadOnlyController</value>
  </property>
  <property>
    <name>hbase.coprocessor.regionserver.classes</name>
    <value>org.apache.hadoop.hbase.security.access.ReadOnlyController</value>
  </property>
  <property>
    <name>hbase.coprocessor.region.classes</name>
    <value>org.apache.hadoop.hbase.security.access.ReadOnlyController</value>
  </property>

 

In this change we are planning to remove this manual process and when user add 
the read-only property then co-processors will get automatically registered 
during initialization.



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

Reply via email to