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

ExecSource command execution starts before starting the sourceCounter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.8.0
    • Sinks+Sources
    • 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

        1. FLUME-2991.patch
          1 kB
          Denes Arvay

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: