flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udai Kiran Potluri (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLUME-2988) Kafka Sink metrics missing eventDrainAttemptCount
Date Fri, 11 Nov 2016 01:12:58 GMT

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

Udai Kiran Potluri updated FLUME-2988:
--------------------------------------
    Attachment: FLUME-2988.1.patch

Attaching a patch with a simple fix that I think is right. Please review [~jholoman] and [~sati]

> Kafka Sink metrics missing eventDrainAttemptCount
> -------------------------------------------------
>
>                 Key: FLUME-2988
>                 URL: https://issues.apache.org/jira/browse/FLUME-2988
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Denes Arvay
>            Assignee: Udai Kiran Potluri
>            Priority: Minor
>         Attachments: FLUME-2988.1.patch
>
>
> {{eventDrainAttemptCount}} doesn't get incremented in Kafka Sink, only the {{eventDrainSuccessCount}}
(https://github.com/apache/flume/blob/trunk/flume-ng-sinks/flume-ng-kafka-sink/src/main/java/org/apache/flume/sink/kafka/KafkaSink.java#L210)
resulting in misleading statistics (e.g. when calculating {{attemptCount - successCount}})



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message