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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Akash R Nilugal (Jira)

    [ 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)