public void onExecutionFail(Execution taskExecution, Throwable cause) { // TODO: check if need to failover the preceding region failover(taskExecution.getGlobalModVersion(), cause); }
public void onExecutionFail(Execution taskExecution, Throwable cause) { // TODO: check if need to failover the preceding region if (!executionGraph.getRestartStrategy().canRestart()) { // delegate the failure to a global fail that will check the restart strategy and not restart executionGraph.failGlobal(cause); } else { cancel(taskExecution.getGlobalModVersion()); } }
public void onExecutionFail(Execution taskExecution, Throwable cause) { // TODO: check if need to failover the preceding region if (!executionGraph.getRestartStrategy().canRestart()) { // delegate the failure to a global fail that will check the restart strategy and not restart executionGraph.failGlobal(cause); } else { cancel(taskExecution.getGlobalModVersion()); } }
public void onExecutionFail(Execution taskExecution, Throwable cause) { // TODO: check if need to failover the preceding region if (!executionGraph.getRestartStrategy().canRestart()) { // delegate the failure to a global fail that will check the restart strategy and not restart executionGraph.failGlobal(cause); } else { cancel(taskExecution.getGlobalModVersion()); } }
final long globalModVersion = taskExecution.getGlobalModVersion();
final long globalModVersion = taskExecution.getGlobalModVersion();
final long globalModVersion = taskExecution.getGlobalModVersion();
final long globalModVersion = taskExecution.getGlobalModVersion();
if (execution.getGlobalModVersion() == globalModVersion) { try { failoverStrategy.onTaskFailure(execution, ex);
if (execution.getGlobalModVersion() == globalModVersion) { try {
if (execution.getGlobalModVersion() == globalModVersion) { try {
if (execution.getGlobalModVersion() == globalModVersion) { try { if (this.failOverMetrics != null) {