RevolutionAnalytics/RHadoop — Issue #35: Kill job when killing mapreduce
Author: piccolbo
Created: 2011-12-16 06:33:56+00:00
State: open
Labels: complexity-medium, importance-medium, pkg-rmr, type-improvement

for maximum integration it would be nice to have that a mapreduce call, on exit, clean up the related hadoop job. This would happen only if mapreduce terminates abnormally, for instance gets interrupted. This should work exactly the same at the prompt or in a script. It's not clear what the implementation approach could be, other than a) the kill command is included in the job output so capturing that (capture.otuput?) and calling system is one way of doing it b)the on.exit function is the way to add this clean up action
This is still not a plan because the information on how to kill a job is available after on exit can be called