|
|
-
Problem to kill jobs with java
hadoop 2012-06-27, 14:43
Hi Folks,
I m using java client to run queries on hive, suggest me some way so that I can kill the query whenever I need.
Or how can I find the jobid to kill it.
Regards
Vikas Srivastava
-
Re: Problem to kill jobs with java
Nitin Pawar 2012-06-27, 14:54
when you fire a hive query .. it returns with the job kill message may be you can capture that and execute it as u need
On Wed, Jun 27, 2012 at 8:13 PM, hadoop <[EMAIL PROTECTED]> wrote:
> Hi Folks, > > > > I m using java client to run queries on hive, suggest me some way so that I > can kill the query whenever I need. > > Or how can I find the jobid to kill it. > > > > Regards > > Vikas Srivastava > > -- Nitin Pawar
-
Re: Problem to kill jobs with java
Mapred Learn 2012-06-27, 14:57
Hi Vikas, One basic way would be to get the stdout after job submission and parse it to find jobid. And run kill command whenever you need it.
-JJ
Sent from my iPhone
On Jun 27, 2012, at 7:43 AM, "hadoop" <[EMAIL PROTECTED]> wrote:
> Hi Folks, > > > > I m using java client to run queries on hive, suggest me some way so that I > can kill the query whenever I need. > > Or how can I find the jobid to kill it. > > > > Regards > > Vikas Srivastava >
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext