hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: killJob method in JobClient
Date Tue, 02 Dec 2008 10:53:34 GMT
Robert Goodman wrote:
> I have some code where I create my own Hadoop job and the use the JobClient
> to submit the Hadoop job. I noticed that the JobClient class has a
> killJob() method. I was planning to play around and try to kill a running
> Hadoop job. Does anybody know status the killJob method? I'm using Hadoop
> My concern is that it might work in some phases (map, reduce, etc)
> of a Hadoop job, but not in other phases which is hard to find with simple
> testing. There may be hidden gotchas that are hard to detect. This concern
> is really driven by the fact that the jobtracker.jsp in Hadoop doesn't have
> an option to kill a job. This would be a useful option.

If you get your API operations added as more functional tests to the 
hadoop codebase, then you can be reasonably confident that nobody is 
going to break your code. This is the best way of ensuring that your 
system remains supported -make it part of the test suite


View raw message