Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19552

Enable TestMiniDruidKafkaCliDriver#druidkafkamini_basic.q

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0, 4.0.0-alpha-1
    • Test
    • None

    Description

      The failure was caused by the following sequence of steps -

      1. Test queries for available hosts where a segment is located and gets the location of kafka task.
      2. Kafka task hands over the data and finishes
      3. Now the scan query is sent to the kafka task, but the task has already completed and will fail.

      https://issues.apache.org/jira/browse/HIVE-20349 fixes this issue by retrying the broker in this case.

      One more cause of failure was the latestOffsets and minimumLag not reported when there is no task.
      This patch masks those two values also. Query results are verified to ensure that there is no lag.

      Attachments

        1. HIVE-19552.patch
          3 kB
          Nishant Bangarwa
        2. HIVE-19552.1.patch
          3 kB
          Nishant Bangarwa

        Issue Links

          Activity

            People

              nishantbangarwa Nishant Bangarwa
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: