ankitjain64 opened a new pull request #2327:
URL: https://github.com/apache/hbase/pull/2327


   JIRA: https://issues.apache.org/jira/browse/HBASE-24764
   
   
   JIRA Description:
   
   Today, if a user needs to apply some common base peer configs to all the 
replication peers on the cluster,  the only way is to execute 
update_peer_config via CLI which requires manual intervention and can be 
tedious in case of large deployment fleet.
   
   As part of this JIRA, we plan to add the support to have base replication 
peer configs as part of hbase-site.xml like 
hbase.replication.peer.base.config="k1=v1;k2=v2.." which can be easily updated 
and applied as part of a rolling restart. 
   
   Example below:
   ```
       <property> 
       <name>hbase.replication.peer.base.configs</name>
   
<value>hbase.replication.source.custom.walentryfilters=x,y,z;hbase.rpc.protection=abc;hbase.xxx.custom_property=123</value>
       </property>
   ```
   
   This property will be empty by default, but user can override to have base 
configs in place.
   
   The final peer configuration would be a merge of whatever is currently 
present or what users override during the peer creation/update (if any) + this 
newly added base config.
   
   Related Jira: https://issues.apache.org/jira/browse/HBASE-17543.  
HBASE-17543 added the support to add the WALEntryFilters to default endpoint 
via peer configuration. 
   By this new Jira we are extending the support to update peer configs via 
hbase-site.xml and hence WalEntryFilters or any other peer property can be 
applied just by rolling restart.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to