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

Enable TestMiniDruidKafkaCliDriver#druidkafkamini_basic.q

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 4.0.0, 3.2.0
    • Component/s: Test
    • Labels:
      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.1.patch
          3 kB
          Nishant Bangarwa
        2. HIVE-19552.patch
          3 kB
          Nishant Bangarwa

          Issue Links

            Activity

              People

              • Assignee:
                nishantbangarwa Nishant Bangarwa
                Reporter:
                jcamachorodriguez Jesus Camacho Rodriguez
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: