You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Kunal Kapoor (JIRA)" <ji...@apache.org> on 2019/08/01 09:20:00 UTC

[jira] [Resolved] (CARBONDATA-3478) Fix ArrayIndexOutOfBoundsException issue on compaction after alter rename operation

     [ https://issues.apache.org/jira/browse/CARBONDATA-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kunal Kapoor resolved CARBONDATA-3478.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

> Fix ArrayIndexOutOfBoundsException issue on compaction after alter rename operation
> -----------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-3478
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3478
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Indhumathi Muthumurugesh
>            Priority: Major
>             Fix For: 1.6.0
>
>          Time Spent: 5h 20m
>  Remaining Estimate: 0h
>
> Please find the steps to reproduce the issue:
>  # Create table having dimension and measure columns
>  # load data
>  # rename / add column/ drop column in table
>  # alter set tblproperties('sort_columns'=measure column', 'sort_scope'='local_sort')
>  # load data
>  # perform compaction and find the exception below
>   
>  Driver stacktrace:
>  2019-07-26 19:34:03 ERROR CarbonAlterTableCompactionCommand:345 - Exception in start compaction thread.
>  java.lang.Exception: Exception in compaction Job aborted due to stage failure: Task 0 in stage 6.0 failed 1 times, most recent failure: Lost task 0.0 in stage 6.0 (TID 6, localhost, executor driver): java.lang.ArrayIndexOutOfBoundsException: 3
>  at org.apache.carbondata.core.scan.wrappers.ByteArrayWrapper.getNoDictionaryKeyByIndex(ByteArrayWrapper.java:81)
> | |



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)