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

Anuj Sharma commented on HBASE-29756:
-------------------------------------

[~andor] [~wchevreuil_impala_4c86] [~kgeiszler] 

What should be the behavior here if user change the read-only mode dynamically? 
My concern is can the co-processor gets registered without restart?

> 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)

Reply via email to