/** * Main JobLauncher method. * * @param args arguments. * @throws Exception exception on the way. */ public static void main(final String[] args) throws Exception { try { setup(args); // Launch client main. The shutdown() method is called inside the launchDAG() method. runUserProgramMain(builtJobConf); } catch (final InjectionException e) { throw new RuntimeException(e); } }
setup(new String[]{"-job_id", jobId}); } catch (Exception e) { throw new RuntimeException(e);