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

HiveServer2 CancelOperation does not work for long running queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.12.0
    • None
    • HiveServer2
    • None

    Description

      Sending the CancelOperation() call does not always stop the query and its related MapReduce jobs.

      e.g. from https://issues.cloudera.org/browse/HUE-2144

      I guess you're right. But the strange thing is that the canceled query shows in job browser as 'Running' and the percents go up - 0%, 50%, then the job is failed.
      How does the cancelling actually work? Is it like the hadoop kill command? It seems to me like it works until certain phase of map reduce is done.
      And another thing - after cancelling the job in Hue I can kill it with hadoop job -kill job_<id>. If it was killed already, it would show "no such job".
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              romainr Romain Rigaux
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: