You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/30 08:34:04 UTC

[jira] [Commented] (TAJO-1901) Repair partition throws ArrayIndexOutOfBoundsException occasionally.

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

ASF GitHub Bot commented on TAJO-1901:
--------------------------------------

GitHub user blrunner opened a pull request:

    https://github.com/apache/tajo/pull/796

    TAJO-1901: Repair partition throws ArrayIndexOutOfBoundsException occasionally.

    I fixed about repair partition and verified that this patch had run as expected on testing cluster.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/blrunner/tajo TAJO-1901

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/796.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #796
    
----
commit 6ff19b8cf8df6f037c5d9cce398a55c1740f96d7
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-09-30T06:31:55Z

    TAJO-1901: Repair partition throws ArrayIndexOutOfBoundsException occasionally.

----


> Repair partition throws ArrayIndexOutOfBoundsException occasionally.
> --------------------------------------------------------------------
>
>                 Key: TAJO-1901
>                 URL: https://issues.apache.org/jira/browse/TAJO-1901
>             Project: Tajo
>          Issue Type: Bug
>          Components: Catalog
>    Affects Versions: 0.11.0, 0.12.0
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>             Fix For: 0.11.0, 0.12.0
>
>
> If words of database name include words of table name, repair partition will throws ArrayIndexOutOfBoundsException as following:
> * Table description
> {code:xml}
> 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)
> {code}
> * Error messages
> {code:xml}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)