Zsolt Tóth created HIVE-14965: --------------------------------- Summary: Hive on Tez automatically restarts killed query Key: HIVE-14965 URL: https://issues.apache.org/jira/browse/HIVE-14965 Project: Hive Issue Type: Bug Components: Tez Affects Versions: 1.2.1 Environment: HDP 2.5 Sandbox VM, using beeline Reporter: Zsolt Tóth
To reproduce: 1. Submit a query from beeline that starts a job 2. Kill the query (exit beeline) ~2-3 seconds later The hiveserver2.log contains the following line: {code}Could not connect to AM, killing session via YARN, ...{code} The YARN application's state changes to KILLED, and a new application is started immediately with the same Hive session ID. At this point I already exited beeline, so there is no way to shut down/kill this container using Hive. -- This message was sent by Atlassian JIRA (v6.3.4#6332)