You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Sudarshan Vasudevan (Jira)" <ji...@apache.org> on 2019/11/21 23:32:00 UTC

[jira] [Resolved] (GOBBLIN-966) Check if no partitions have been processed by KafkaExtractor in close() method to avoid ArrayIndexOutOfBoundsException

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

Sudarshan Vasudevan resolved GOBBLIN-966.
-----------------------------------------
    Resolution: Fixed

> Check if no partitions have been processed by KafkaExtractor in close() method to avoid ArrayIndexOutOfBoundsException 
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: GOBBLIN-966
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-966
>             Project: Apache Gobblin
>          Issue Type: Bug
>          Components: gobblin-kafka
>    Affects Versions: 0.15.0
>            Reporter: Sudarshan Vasudevan
>            Assignee: Shirshanka Das
>            Priority: Minor
>             Fix For: 0.15.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> When no partitions are processed by KafkaExtractor, the currentPartitionIndex remains at -1. Calling the KafkaExtractorStatsTracker#updateStatisticsForCurrentPartition() method, with a partition index of -1 causes ArrayIndexOutofBoundsException.



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