Skip to content

Commit

Permalink
[FLINK-18533][coordination] Disable cancellation of unknown deployments
Browse files Browse the repository at this point in the history
Temporarily disabled due to stability issues.
  • Loading branch information
zentol committed Jul 9, 2020
1 parent 03934b3 commit 6e811e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public void onUnknownDeploymentsOf(Collection<ExecutionAttemptID> executionAttem
for (ExecutionAttemptID executionAttemptId : executionAttemptIds) {
Tuple2<TaskManagerLocation, TaskExecutorGateway> taskManagerInfo = registeredTaskManagers.get(host);
if (taskManagerInfo != null) {
taskManagerInfo.f1.cancelTask(executionAttemptId, rpcTimeout);
//taskManagerInfo.f1.cancelTask(executionAttemptId, rpcTimeout);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;

Expand Down Expand Up @@ -88,6 +89,7 @@ public void setup() {
}

@Test
@Ignore
public void testExecutionDeploymentReconciliation() throws Exception {
JobMasterBuilder.TestingOnCompletionActions onCompletionActions = new JobMasterBuilder.TestingOnCompletionActions();

Expand Down

0 comments on commit 6e811e6

Please sign in to comment.