carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravindra Pesala (JIRA)" <>
Subject [jira] [Updated] (CARBONDATA-229) Array Index of bound exception thrown from dictionary look up while writing sort index file
Date Sat, 24 Sep 2016 10:57:20 GMT


Ravindra Pesala updated CARBONDATA-229:
    Fix Version/s: 0.1.1-incubating

> Array Index of bound exception thrown from dictionary look up while writing sort index
> -------------------------------------------------------------------------------------------
>                 Key: CARBONDATA-229
>                 URL:
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Manish Gupta
>            Assignee: Manish Gupta
>             Fix For: 0.2.0-incubating, 0.1.1-incubating
> Whenever we load dictionary data into memory, then in case of populating reverse dictionary
object sometimes a chunk which has no value is also getting added to the dictionary chunk
list. This is happening because the logic for dictionary chunk distribution in case of forward
dictionary is not implemented for reverse dictionary and 0 size dictionary chunks are not
getting removed while adding to the list of dictionary chunks.
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.rangeCheck(
> 	at java.util.ArrayList.get(
> 	at
> 	at org.apache.carbondata.core.writer.sortindex.CarbonDictionarySortInfoPreparator.prepareDictionarySortModels(
> 	at org.apache.carbondata.core.writer.sortindex.CarbonDictionarySortInfoPreparator.getDictionarySortInfo(
> 	at org.apache.carbondata.spark.tasks.SortIndexWriterTask.execute(SortIndexWriterTask.scala:44)
> 	at org.apache.carbondata.spark.rdd.CarbonGlobalDictionaryGenerateRDD$$anon$1.<init>(CarbonGlobalDictionaryRDD.scala:387)
> 	at org.apache.carbondata.spark.rdd.CarbonGlobalDictionaryGenerateRDD.compute(CarbonGlobalDictionaryRDD.scala:294)

This message was sent by Atlassian JIRA

View raw message