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

Denes Arvay updated FLUME-2991:
-------------------------------
    Fix Version/s: 1.8.0

> ExecSource command execution starts before starting the sourceCounter
> ---------------------------------------------------------------------
>
>                 Key: FLUME-2991
>                 URL: https://issues.apache.org/jira/browse/FLUME-2991
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Denes Arvay
>            Assignee: Denes Arvay
>             Fix For: 1.8.0
>
>         Attachments: FLUME-2991.patch
>
>
> It causes invalid data to appear in JMX monitoring and also makes 
> {{TestExecSource.testMonitoredCounterGroup}} failing/flaky.
> starting the {{sourceCounter}} before submitting the {{ExecRunnable}} to the 
> {{executor}} solves the problem.
> https://github.com/apache/flume/blob/trunk/flume-ng-core/src/main/java/org/apache/flume/source/ExecSource.java#L176-L183



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to