Skip to content

Commit

Permalink
[FLINK-19306][coordination] Add DeclarativeSlotManager
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Oct 16, 2020
1 parent 3d7f96a commit e44c932
Show file tree
Hide file tree
Showing 12 changed files with 1,877 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
import org.apache.flink.runtime.rpc.FencedRpcEndpoint;
import org.apache.flink.runtime.rpc.RpcService;
import org.apache.flink.runtime.rpc.akka.AkkaRpcServiceUtils;
import org.apache.flink.runtime.slots.ResourceRequirement;
import org.apache.flink.runtime.taskexecutor.FileType;
import org.apache.flink.runtime.taskexecutor.SlotReport;
import org.apache.flink.runtime.taskexecutor.TaskExecutorGateway;
Expand Down Expand Up @@ -1190,6 +1191,11 @@ public void notifyAllocationFailure(JobID jobId, AllocationID allocationId, Exce
jobManagerRegistration.getJobManagerGateway().notifyAllocationFailure(allocationId, cause);
}
}

@Override
public void notifyNotEnoughResourcesAvailable(JobID jobId, Collection<ResourceRequirement> acquiredResources) {
validateRunsInMainThread();
}
}

private class JobLeaderIdActionsImpl implements JobLeaderIdActions {
Expand Down
Loading

0 comments on commit e44c932

Please sign in to comment.