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

KafkaSource tests arbitrarily fail

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.0
    • Component/s: Test
    • Labels:
      None

      Description

      KafkaSource tests are flaky, and tend to fail. I investigated this issue and discovered the following issues:

      • KafkaSource hangs in doStart at line 413:
        KafkaSourceEmbeddedKafka.java
         it = consumer.poll(1000).iterator();
        

      I fixed that by simply changing HOST in KafkaSourceEmbeddedKafka to localhost.

      • Out of memory exception. I fixed that by properly configuring MAVEN_OPTS, as stated in the documentation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                liorze Lior Zeno
                Reporter:
                liorze Lior Zeno
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: