Created on 12-24-2015 12:45 PM - edited 08-19-2019 05:24 AM
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 ?
Created 12-24-2015 12:47 PM
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>
Created 12-24-2015 12:47 PM
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>
Created on 12-24-2015 01:01 PM - edited 08-19-2019 05:24 AM
Tried checking for job ID under RM UI, but there is no application ID visible now ? but the Hive history still displaying the query status as 'Running'
Created on 12-24-2015 01:11 PM - edited 08-19-2019 05:24 AM
@Suresh Raju I was able to reproduce this in my sandbox.
You can click Dashboard or refresh or load Hive view again to get it clear.
Created 12-24-2015 05:09 PM
@Neeraj Sabharwal, have tried refreshing the hive, completely switching off and re-starting it multiple times. am still getting the same running status (more than 5 hours now), am I missing something in the configuration or installation ?
Created 12-24-2015 05:11 PM
@Suresh Raju Please paste screen shot or entries from /var/log/ambari-server/ambari-server.log
Created on 12-24-2015 06:47 PM - edited 08-19-2019 05:24 AM
@Neeraj Sabharwal - attached ambari-server-log.txt. for your reference, let me know if you are expecting any specific keyword or details from the log file? as its very huge i couldn't able to take more screenshots or copy logs.
Created 12-25-2015 03:34 PM
@Suresh Raju I dont see anything related to Hive view. Are you still seeing the issue? Restart ambari server if you are still seeing the issue and check logs
Created 01-05-2016 04:14 PM
Thanks @Neeraj Sabharwal , the issue is completely resovled now.!!!
Created 01-05-2016 04:29 PM
@Suresh Raju Cool. As part of best practive , please accept the best answer.