Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

How to exit Hive-on-Spark application from Hue Hive Editor

Highlighted

How to exit Hive-on-Spark application from Hue Hive Editor

New Contributor

Hi,

When I use Hive-on-Spark from Hue Hive Editor,
I can get the result correctly, but the Hive-on-Spark application does not exit on YARN.

Case 1) Execute a query on Hive Editor with `SET hive.execution.engine=spark`;
-> The Hive-on-Spark application will remain on YARN after getting the result.

Case 2) After the case 1, execute another query as Hive-on-Spark
-> The first Hive-on-Spark application will exit, and the next one will remain.

Case 3) After the case 2, execute another query with `SET hive.execution.engine=mr;`
-> Both of the remaining Hive-on-Spark application and the MapReduce application will exit.

So, how to correctly exit Hive-on-Spark application from Hue Hive Editor?

Thanks.