[
https://issues.apache.org/jira/browse/FLUME-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14746709#comment-14746709
]
Hudson commented on FLUME-2672:
-------------------------------
SUCCESS: Integrated in Flume-trunk-hbase-1 #122 (See
[https://builds.apache.org/job/Flume-trunk-hbase-1/122/])
FLUME-2672. NPE in KafkaSourceCounter (johnyrufus:
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=67189ca84d24154150fa2ca4194b3b8d79400bda)
*
flume-ng-core/src/test/java/org/apache/flume/instrumentation/kafka/KafkaSourceCounterTest.java
*
flume-ng-core/src/main/java/org/apache/flume/instrumentation/kafka/KafkaSourceCounter.java
> NPE in KafkaSourceCounter
> -------------------------
>
> Key: FLUME-2672
> URL: https://issues.apache.org/jira/browse/FLUME-2672
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v1.6.0
> Environment: Mac OS 10.10.3, Java 1.7.0_60
> Reporter: Rigo MacTaggart
> Assignee: Rigo MacTaggart
> Priority: Trivial
> Labels: easyfix
> Fix For: 1.7
>
> Attachments: FLUME-2672-with-test-git-diff.patch,
> FLUME-2672-with-test.patch, FLUME-2672.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> A NPE is thrown when KafkaSource calls counter.incrementKafkaEmptyCount()
> because it expects MonitoredCounterGroup.counterMap to contain key
> "source.kafka.empty.count". A patch is included which adds this key to the
> ATTRIBUTES string array, which is used to pre-populate keys with an initial
> value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)