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

Pankaj Kumar commented on HBASE-21645:
--------------------------------------

Thanks [~nihaljain.cs] for the fix. With this approach we will  just WARN the 
user and allow table creation with default replica count ie. 1. What would be 
the replica count in table descriptor? It would be zero which is actually not 
correct. IMO we should also set region replica count as 1 in descriptor if 
table creation is allowed in this case.

> Perform sanity check and disallow table creation/modification with region 
> replication < 1
> -----------------------------------------------------------------------------------------
>
>                 Key: HBASE-21645
>                 URL: https://issues.apache.org/jira/browse/HBASE-21645
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 3.0.0, 1.5.0, 2.1.1, 2.1.2
>            Reporter: Nihal Jain
>            Assignee: Nihal Jain
>            Priority: Minor
>             Fix For: 3.0.0, 2.2.0, 2.1.3, 2.0.5
>
>         Attachments: HBASE-21645.master.001.patch, 
> HBASE-21645.master.001.patch, HBASE-21645.master.002.patch
>
>
> We should perform sanity check and disallow table creation with region 
> replication < 1 or modification of an existing table with new region 
> replication value < 1.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to