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

return code of "source xxx" clause is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0, 0.13.1
    • 1.0.0
    • Clients
    • None

    Description

      When executing "source <hql-file>" clause, hive client driver does not catch the return code of this command.

      This behaviour causes an issue when running hive query in Oozie workflow.
      When the "source" clause is put into a Oozie workflow, Oozie can not get the return code of this command. Thus, Oozie consider the "source" clause as successful all the time.

      So, when the "source" clause fails, the hive query does not abort and the oozie workflow does not abort either.

      Attachments

        1. HIVE-8532.patch
          0.6 kB
          vitthal (Suhas) Gogate

        Activity

          People

            vitthal_gogate vitthal (Suhas) Gogate
            wangg23 Gordon Wang
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: