Login  Register

[jira] [Commented] (CARBONDATA-4152) Enhance logger after query failed with exception: java.lang.IndexOutOfBoundsException: Index: 0 Size: 0 at BlockletIndexFactory.getSegmentProperties

Posted by Akash R Nilugal (Jira) on Mar 17, 2021; 3:48am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Commented-CARBONDATA-4152-Enhance-logger-after-query-failed-with-exception-java-lang-IndexOutOfs-tp106908.html


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

Yahui Liu commented on CARBONDATA-4152:
---------------------------------------

When CARBONDATA-3471 issue happens, there is no any log which can help to location the root cause of the issue, need to enhance the logger.

> Enhance logger after query failed with exception: java.lang.IndexOutOfBoundsException: Index: 0 Size: 0 at BlockletIndexFactory.getSegmentProperties
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-4152
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4152
>             Project: CarbonData
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.1.0
>            Reporter: Yahui Liu
>            Priority: Minor
>
> There is chance that getIndexes(segment) return empty list and later call list.get(0) throw exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)