Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1901

Repair partition throws ArrayIndexOutOfBoundsException occasionally.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0, 0.12.0
    • Fix Version/s: 0.11.0, 0.12.0
    • Component/s: Catalog
    • Labels:
      None

      Description

      If words of database name include words of table name, repair partition will throws ArrayIndexOutOfBoundsException as following:

      • Table description
        table name: tpch_partition.part
        table uri: hdfs://localhost:9010/tajo/warehouse/tpch_partition/part
        store type: TEXT
        number of rows: unknown
        volume: 23.4 MB
        Options: 
        	'transient_lastDdlTime'='1441267331'
        	'text.null'='\\N'
        	'text.delimiter'='|'
        
        schema: 
        p_partkey	INT8
        p_name	TEXT
        p_mfgr	TEXT
        p_brand	TEXT
        p_type	TEXT
        p_container	TEXT
        p_retailprice	FLOAT8
        p_comment	TEXT
        
        Partitions: 
        type:COLUMN
        columns::p_size (INT4)
        
      • Error messages
        java.lang.ArrayIndexOutOfBoundsException: 1
                at org.apache.tajo.master.exec.DDLExecutor.getPartitionDesc(DDLExecutor.java:666)
                at org.apache.tajo.master.exec.DDLExecutor.repairPartition(DDLExecutor.java:628)
                at org.apache.tajo.master.exec.DDLExecutor.alterTable(DDLExecutor.java:552)
                at org.apache.tajo.master.exec.DDLExecutor.execute(DDLExecutor.java:119)
        

        Attachments

          Activity

            People

            • Assignee:
              blrunner JaeHwa Jung
              Reporter:
              blrunner JaeHwa Jung
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: