You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Denes Arvay (JIRA)" <ji...@apache.org> on 2016/09/08 10:03:20 UTC
[jira] [Created] (FLUME-2991) ExecSource command execution starts
before starting the sourceCounter
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)