carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkata Ramana G (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CARBONDATA-800) ArrayIndexOfBound Exception thrown when block size is specified as 2048 MB
Date Thu, 23 Mar 2017 09:22:41 GMT

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

Venkata Ramana G resolved CARBONDATA-800.
-----------------------------------------
    Resolution: Fixed

> ArrayIndexOfBound Exception thrown when block size is specified as 2048 MB
> --------------------------------------------------------------------------
>
>                 Key: CARBONDATA-800
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-800
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Manish Gupta
>            Assignee: Manish Gupta
>            Priority: Minor
>             Fix For: 1.1.0-incubating
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> If table block size if specified for its max value 2048, then while converting it into
bytes it goes out of integer range and hence a negative value is assigned for blocklet size.
Because of this exception is thrown.
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.rangeCheck(ArrayList.java:635)
> 	at java.util.ArrayList.get(ArrayList.java:411)
> 	at org.apache.carbondata.processing.store.writer.v3.CarbonFactDataWriterImplV3.writeDataToFile(CarbonFactDataWriterImplV3.java:329)
> 	at org.apache.carbondata.processing.store.writer.v3.CarbonFactDataWriterImplV3.writeBlockletData(CarbonFactDataWriterImplV3.java:319)
> 	at org.apache.carbondata.processing.store.CarbonFactDataHandlerColumnar$Consumer.call(CarbonFactDataHandlerColumnar.java:1602)
> 	at org.apache.carbondata.processing.store.CarbonFactDataHandlerColumnar$Consumer.call(CarbonFactDataHandlerColumnar.java:1582)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> ERROR 21-03 14:20:34,396 - [Executor task launch worker-0][partitionID:default_carbon_table_fd22a530-1ae4-459f-aae4-b1d8cdef514f]
org.apache.carbondata.processing.store.writer.exception.CarbonDataWriterException: Index:
0, Size: 0
> java.util.concurrent.ExecutionException: org.apache.carbondata.processing.store.writer.exception.CarbonDataWriterException:
Index: 0, Size: 0
> 	at java.util.concurrent.FutureTask.report(FutureTask.java:122)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message