Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2676

Restore: Support creating tables with greater than the maximum allowed number of partitions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.10.0
    • None

    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)
      
      

      Attachments

        Activity

          People

            wdberkeley William Berkeley
            granthenke Grant Henke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: