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

        Issue Links

          Activity

          Hide
          denes Denes Arvay added a comment -
          Show
          denes Denes Arvay added a comment - This was fixed by Mike Percy in PR #72 https://github.com/apache/flume/pull/72

            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:

                Development