[ 
https://issues.apache.org/jira/browse/HBASE-29578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andor Molnar resolved HBASE-29578.
----------------------------------
    Resolution: Invalid

My fault. I forgot to add the necessary configuration to *hbase-site.xml* 

See [PR #6931|https://github.com/apache/hbase/pull/6931] for details.
{noformat}
<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>{noformat}

> HBase allows me to put new rows in a table if global read-only mode is ON
> -------------------------------------------------------------------------
>
>                 Key: HBASE-29578
>                 URL: https://issues.apache.org/jira/browse/HBASE-29578
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Andor Molnar
>            Assignee: Abhishek Kothalikar
>            Priority: Major
>
> # I was testing the *refresh_meta* command with 2 clusters running in docker 
> containers and noticed that I was able to put new rows in a new table after 
> refreshing meta.
> {noformat}
> hbase:008:0> put 'andor', 'r2', 'cf1', 'andor2'
> Took 0.0265 seconds
> hbase:009:0> scan 'andor'
> ROW  COLUMN+CELL
>  r1 column=cf1:, timestamp=2025-09-05T21:26:37.105, value=andor1
>  r2 column=cf1:, timestamp=2025-09-08T15:43:10.975, value=andor2
> 2 row(s)
> {noformat}
> hbase-site.xml
> {noformat}
>   <property>
>     <name>hbase.global.readonly.enabled</name>
>     <value>true</value>
>   </property>
>   <property>
>     <name>hbase.meta.table.suffix</name>
>     <value>replica1</value>
>   </property>
> {noformat}
> Please check.
>  



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

Reply via email to