private void logAndPrintMessage(ExecutionGraphMessages.JobStatusChanged message) { // by default, this only prints the status, and not any exception. // in state FAILING, we report the exception in addition if (message.newJobStatus() != JobStatus.FAILING || message.error() == null) { LOG.info(message.toString()); if (sysoutUpdates) { System.out.println(message.toString()); } } else { Throwable error = SerializedThrowable.get(message.error(), getClass().getClassLoader()); LOG.info(message.toString(), error); if (sysoutUpdates) { System.out.println(message.toString()); message.error().printStackTrace(System.out); } } }
private void logAndPrintMessage(ExecutionGraphMessages.JobStatusChanged message) { // by default, this only prints the status, and not any exception. // in state FAILING, we report the exception in addition if (message.newJobStatus() != JobStatus.FAILING || message.error() == null) { LOG.info(message.toString()); if (sysoutUpdates) { System.out.println(message.toString()); } } else { Throwable error = SerializedThrowable.get(message.error(), getClass().getClassLoader()); LOG.info(message.toString(), error); if (sysoutUpdates) { System.out.println(message.toString()); message.error().printStackTrace(System.out); } } }
private void logAndPrintMessage(ExecutionGraphMessages.JobStatusChanged message) { // by default, this only prints the status, and not any exception. // in state FAILING, we report the exception in addition if (message.newJobStatus() != JobStatus.FAILING || message.error() == null) { LOG.info(message.toString()); if (sysoutUpdates) { System.out.println(message.toString()); } } else { Throwable error = SerializedThrowable.get(message.error(), getClass().getClassLoader()); LOG.info(message.toString(), error); if (sysoutUpdates) { System.out.println(message.toString()); message.error().printStackTrace(System.out); } } }
private void logAndPrintMessage(ExecutionGraphMessages.JobStatusChanged message) { // by default, this only prints the status, and not any exception. // in state FAILING, we report the exception in addition if (message.newJobStatus() != JobStatus.FAILING || message.error() == null) { LOG.info(message.toString()); if (sysoutUpdates) { System.out.println(message.toString()); } } else { Throwable error = SerializedThrowable.get(message.error(), getClass().getClassLoader()); LOG.info(message.toString(), error); if (sysoutUpdates) { System.out.println(message.toString()); message.error().printStackTrace(System.out); } } }
@Override public void jobStatusChanges(JobID jobId, JobStatus newJobStatus, long timestamp, Throwable error) { ExecutionGraphMessages.JobStatusChanged message = new ExecutionGraphMessages.JobStatusChanged(jobId, newJobStatus, timestamp, error == null ? null : new SerializedThrowable(error)); target.tell(message); }
@Override public void jobStatusChanges(JobID jobId, JobStatus newJobStatus, long timestamp, Throwable error) { ExecutionGraphMessages.JobStatusChanged message = new ExecutionGraphMessages.JobStatusChanged(jobId, newJobStatus, timestamp, error == null ? null : new SerializedThrowable(error)); target.tell(message); }
@Override public void jobStatusChanges(JobID jobId, JobStatus newJobStatus, long timestamp, Throwable error) { ExecutionGraphMessages.JobStatusChanged message = new ExecutionGraphMessages.JobStatusChanged(jobId, newJobStatus, timestamp, error == null ? null : new SerializedThrowable(error)); target.tell(message); }
@Override public void jobStatusChanges(JobID jobId, JobStatus newJobStatus, long timestamp, Throwable error) { ExecutionGraphMessages.JobStatusChanged message = new ExecutionGraphMessages.JobStatusChanged(jobId, newJobStatus, timestamp, error == null ? null : new SerializedThrowable(error)); target.tell(message); }