Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2991

ExecSource command execution starts before starting the sourceCounter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: Sinks+Sources
    • Labels:
      None

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                denes Denes Arvay
                Reporter:
                denes Denes Arvay
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: