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:11:20 UTC
[jira] [Updated] (FLUME-2991) ExecSource command execution starts
before starting the sourceCounter
[ https://issues.apache.org/jira/browse/FLUME-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denes Arvay updated FLUME-2991:
-------------------------------
Description:
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
was:
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
> 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)