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

KafkaSource tests arbitrarily fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • Test
    • 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

        1. FLUME-2936-0.patch
          1 kB
          Lior Zeno

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: