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

Michael Stack commented on HBASE-25099:
---------------------------------------

Sure.

There exists a mechanism currently for setting replica count on hbase:meta that 
comes from region replicas. In HConstants are the following defines:

{color:#000080}public static final {color}String 
{color:#660e7a}META_REPLICAS_NUM {color}= 
{color:#008000}"hbase.meta.replica.count"{color};
{color:#000080}public static final int 
{color}{color:#660e7a}DEFAULT_META_REPLICA_NUM {color}= {color:#0000ff}1{color};

Could make it so you do replicas on meta same way you do it on user-space table.

 

> Change meta replica number by altering meta table descriptor
> ------------------------------------------------------------
>
>                 Key: HBASE-25099
>                 URL: https://issues.apache.org/jira/browse/HBASE-25099
>             Project: HBase
>          Issue Type: Improvement
>          Components: meta, read replicas
>            Reporter: Duo Zhang
>            Priority: Major
>
> As now we support altering meta table, it will be better to also deal with 
> changing meta replica number using altering meta, i.e, we could unify the 
> logic in MasterMetaBootstrap to ModifyTableProcedure, and another benefit is 
> that we do not need to restart master when changing the replica number for 
> meta.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to