206207208209210211212213214215216
jobTracker.offerService(); } catch (Throwable t) { if (t instanceof InterruptedException) { try { jobTracker.stopTracker(); logger.info("Job Tracker shutdown property"); } catch (Exception e) { logger.error("An Error occured when stopping Job tracker"); } }
216217218219220221222223224225226
} // on OOM shut down the tracker if (t instanceof OutOfMemoryError || t.getCause() instanceof OutOfMemoryError) { try { jobTracker.stopTracker(); } catch (IOException e) { } logger.warn("Error starting job tracker", t); break;