[
https://issues.apache.org/jira/browse/HBASE-29756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18056571#comment-18056571
]
Anuj Sharma edited comment on HBASE-29756 at 2/5/26 12:11 PM:
--------------------------------------------------------------
[~andor] Agreed, hence we are already implementing it under this task, there we
are adding new property called "{*}{*}{*}hbase.global.readonly.supported{*}"
.
Also I am working on POC to register the coprocessor dynamically, the only
problem we have is our coprocessors has ConfigurationObserver implemented, if
we can move that logic to master, region and regionserver then we will be able
to achieve this too.
was (Author: JIRAUSER305145):
[~andor] Agreed, hence we are already implementing it under this task, there we
are adding new property called "{*}{*}{*}hbase.global.readonly.supported{*}"
.
Also I am working on POC to register the coprocessor dynamically, the only
problem we have is our coprocessors has ConfigurationObserver implemented, if
we can move that logic to master, region and regionserver then we will be able
to achieve this too.
> 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
> Priority: Major
>
> 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)