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/15 20:09:00 UTC
[jira] [Created] (GOBBLIN-966) Check if no partitions have been
processed by KafkaExtractor in close() method to avoid
ArrayIndexOutOfBoundsException
Sudarshan Vasudevan created GOBBLIN-966:
-------------------------------------------
Summary: 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
Fix For: 0.15.0
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)