Description
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:
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)