hive application shows running even after killing from command line

poodah nray

I ran a hive query on a decently large dataset and it was taking too much time for the query so I decided to kill the application with :

    yarn kill -application-id

Now when I check from the CLI with:

    yarn application -list 

then the above mentioned application does not show up in the list.

However, when I log into the Tez view from ambari the application is showing up to be still in the running state(almost been 24 hours since I created it).

I tried killing it again from the command line but it says that the application has already finished.

I also checked in the resource manager UI and the status for that job shows that it was killed.

Because of this, whenever I am trying to run any new hive job, it is just getting queued up and I am unable to run any other jobs.

Please help!

poodah nray

So the way around I found to clear the queue so that I could run other queries was to go to /hadoop/yarn/timeline, backup the files and restart YARN. The TEZ queue was cleared up and I could start running my queries from the hive view again.

I should mention, however, that this will clear all queries(for all the users).

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

MessageBodyProviderNotFoundException while running jar from command line

Running Scheme from the command line

Profiling a running Java application in command line

Compiling and running Java from the command line

Maven Java application crashes when running from command line but not from within the Netbeans IDE

Running PyCharm project from command line

Running Python from Command Line

Running zipalign with zopfli recompression after building APK from command line to make it smaller

running pug from command line

Running python functions from anywhere in command line

multipledispatch ModuleNotFoundError running from command-line

Closing Application and killing it from ram

How to get the command line of a running application?

How to terminate Linux tee command without killing application it is receiving from

Killing all instances of Chrome on the command-line?

Running unit tests from the command line fail after upgrading to Xcode 5.1

Running ASP.NET web application from command line

Effect of killing a long running rm command

PHP script stuck on exec even after running command in backgroud on Windows

JavaFX 8 video playback freeze when running application from command line

df command shows 100% full, even after deleting files it shows same usage (100%)

Shows tons of vlc application even after removing it

Running PackageMaker from command line

Killing subprocess after first line

find where a program is running from command line

Running this from command line in Java

Running FxCop analyzers from command line

fetching from a URL shows an error in console even after catching it?

JFrame keeps application running even after closing