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

Grant Henke commented on KUDU-2676:
-----------------------------------

I am not sure exactly what the limiting factor is in the current replica size 
limitation. Perhaps finding a way to create a table with more replicas is also 
an option. 

It seems if a client would write code that would sequentially create range 
partitions to prevent creating too many replicas at once, the server could do 
the same when a range partitioned table was created. 

> [Backup] Support restoring tables over the maximum allowed replicas
> -------------------------------------------------------------------
>
>                 Key: KUDU-2676
>                 URL: https://issues.apache.org/jira/browse/KUDU-2676
>             Project: Kudu
>          Issue Type: Bug
>    Affects Versions: 1.8.0
>            Reporter: Grant Henke
>            Priority: Major
>              Labels: backup
>
> Currently it is possible to backup a table that has more partitions than are 
> allowed at create time. 
> This results in the restore job failing with the following exception:
> {noformat}
> 19/01/24 08:17:14 INFO backup.KuduRestore$: Restoring from path: 
> hdfs:///user/ghenke/kudu-backup-tests/20190124-080741
> Exception in thread "main" org.apache.kudu.client.NonRecoverableException: 
> the requested number of tablet replicas is over the maximum permitted at 
> creation time (
> 450), additional tablets may be added by adding range partitions to the table 
> post-creation
>         at 
> org.apache.kudu.client.KuduException.transformException(KuduException.java:110)
>         at 
> org.apache.kudu.client.KuduClient.joinAndHandleException(KuduClient.java:365)
>         at org.apache.kudu.client.KuduClient.createTable(KuduClient.java:109)
> {noformat}



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

Reply via email to