442443444445446447448449450451452
returnVal = 1; } finally { Utilities.clearWork(job); try { if (ctxCreated) { ctx.clear(); } if (rj != null) { if (returnVal != 0) { rj.killJob();
186187188189190191192193194195196
// rc will be 1 at this point indicating failure. } finally { Utilities.clearWork(conf); if (cleanContext) { try { ctx.clear(); } catch (Exception e) { /*best effort*/ LOG.warn("Failed to clean up after tez job"); } }
209210211212213214215216217218219
success = false; returnVal = 1; } finally { try { if (ctxCreated) { ctx.clear(); } if (rj != null) { if (returnVal != 0) { rj.killJob(); }
233234235236237238239240241242243
240241242243244245246247248249250
185186187188189190191192193194195
451452453454455456457458459460461
306307308309310311312313314315316
} finally { try { // creating the context can create a bunch of files. So make // sure to clear it out if(ctxCreated) { ctx.clear(); } } catch (Exception e) { LOG.error("Exception: " + e.getMessage()); }
167168169170171172173174175176177
469470471472473474475476477478479
returnVal = 1; } finally { Utilities.clearMapRedWork(job); try { if (ctxCreated) { ctx.clear(); } if (rj != null) { if (returnVal != 0) { rj.killJob();