Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Unable to Kill Session in Hive

avatar
Contributor

have tried to run a select script in Hive, since it took time to fetch result tried modifying the query for limiting the result set. I have tried stopping the query/kill session, but the session remains unresponsive, can you let me know how to kill the session ?

1074-hive-session-1.png

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Suresh Raju

On Amabari Dashboard , click Yarn --> Quick Link --> RM UI

Notice the running jobs and find the application id related to your job

login into one of the nodes as hive or hdfs users

yarn application -kill <application id>

View solution in original post

11 REPLIES 11

avatar
Master Mentor

@Suresh Raju are you still having issues with this? Can you accept best answer or provide your own solution?

avatar
Explorer

Hi

I am also facing same issue of queries not stopping executing in ambari

I have restarted my ambari but still naot resolved

Here are my ambar-server.log

Processing file: /var/lib/ambari-server/resources/stacks/HDP/2.4/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/YARN.txt Processing file: /var/lib/ambari-server/resources/stacks/HDP/2.4/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/AMBARI_METRICS.txt Processing file: /var/lib/ambari-server/resources/stacks/HDP/2.4/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HOST.txt Processing file: /var/lib/ambari-server/resources/stacks/HDP/2.4/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/FLUME.txt Processing file: /var/lib/ambari-server/resources/stacks/HDP/2.4/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HDFS.txt Processing file: /var/lib/ambari-server/resources/stacks/HDP/2.4/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/KAFKA.txt

Please help me