Denes Arvay created FLUME-2991:
----------------------------------

             Summary: 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


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.3.4#6332)

Reply via email to