RunningJob
Clients can get hold of RunningJob via the {@link BSPJobClient}and then query the running-job for details such as name, configuration, progress etc.
965966967968969970971972973974975976
task.setTaskCleanupTask(); // register task tip = tracker.new TaskInProgress(task, trackerFConf); // localize the job again. RunningJob rjob = tracker.localizeJob(tip); localizedJobConf = rjob.getJobConf(); checkJobLocalization(); // localize task cleanup attempt initializeTask(); checkTaskLocalization();
919293949596979899
bsp.setNumBspTask(cluster.getMaxTasks()); LOG.info("Client conf: " + clientConf.get("hadoop.rpc.socket.factory.class.default")); RunningJob rJob = jobClient.submitJob(bsp); rJob.waitForCompletion(); LOG.info("finished"); }