log.info("Job Result : " + future.getResult());
} catch (RemoteInvocationFailureException e) {
e.getCause().printStackTrace();
}
sw.stop();
log.info("GridJob Finished. Duration " + sw.getLastTaskTimeMillis() + " ms");
log.debug("Press any key to unregister GridNode and terminate");
System.in.read();
node.getNodeRegistrationService().unregister();