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

Hive doesn't close Tez session properly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Hive doesn't close Tez session properly if AM isn't ready for accepting DAG.

      STR
      This can be easily reproduced using the following steps:
      1) configure cluster on Tez;

      2) create file test.hql
      cat ~/test.hql
      show databases;

      3) run the job
      $ hive --hiveconf hive.root.logger=DEBUG,console --hiveconf hive.execution.engine=tez -f ~/test.hql

      If we login into Yarn UI, we will see that jobs status is failed even it finished successfully.

      It happens because hive creates tez session by default. And if query finished very quickly, we can't close tez session properly because AM isn't ready for accepting any requests.

        Attachments

        1. HIVE-18990.01.patch
          0.6 kB
          Igor Kryvenko
        2. HIVE-18990.02.patch
          0.7 kB
          Igor Kryvenko
        3. HIVE-18990.03.patch
          0.6 kB
          Igor Kryvenko

          Issue Links

            Activity

              People

              • Assignee:
                vbeshka Igor Kryvenko
                Reporter:
                vbeshka Igor Kryvenko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: