Description
The ClientDSL for Oozie shoud provide the kill method.
It could be easily done with something like that :
protected Callable<Kill.Response> callable() { return new Callable<Kill.Response>() { @Override public Kill.Response call() throws Exception { URIBuilder uri = uri( Workflow.SERVICE_PATH, "/job/", jobId ); uri.addParameter("action", "kill"); HttpPut request = new HttpPut( uri.build() ); return new Kill.Response( execute( request ) ); } }; }
Attachments
Issue Links
- duplicates
-
KNOX-835 Improvements for Oozie in the ClientDSL
- Open