Kill hive queries without exiting from hive shell
You have two options:
press
Ctrl+C
and wait till command terminates, it will not exit from hive CLI, pressCtrl+C
second time and the session will terminate immediately exiting to the shellfrom another shell run
yarn application -kill <Application ID>
ormapred job -kill <JOB_ID>