Skip to content

Commit

Permalink
[hotfix][runtime] Remove unused SchedulerBase.checkpointRecoveryFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
rkhachatryan committed Jan 14, 2021
1 parent 03e0800 commit 0a44c3a
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -152,8 +152,6 @@ public abstract class SchedulerBase implements SchedulerNG {

private final ClassLoader userCodeLoader;

private final CheckpointRecoveryFactory checkpointRecoveryFactory;

private final CompletedCheckpointStore completedCheckpointStore;

private final CheckpointsCleaner checkpointsCleaner;
Expand Down Expand Up @@ -201,7 +199,6 @@ public SchedulerBase(
this.jobMasterConfiguration = checkNotNull(jobMasterConfiguration);
this.futureExecutor = checkNotNull(futureExecutor);
this.userCodeLoader = checkNotNull(userCodeLoader);
this.checkpointRecoveryFactory = checkNotNull(checkpointRecoveryFactory);
this.rpcTimeout = checkNotNull(rpcTimeout);

this.blobWriter = checkNotNull(blobWriter);
Expand All @@ -214,11 +211,11 @@ public SchedulerBase(
jobGraph,
jobMasterConfiguration,
userCodeLoader,
checkpointRecoveryFactory,
checkNotNull(checkpointRecoveryFactory),
log);
this.checkpointIdCounter =
SchedulerUtils.createCheckpointIDCounterIfCheckpointingIsEnabled(
jobGraph, checkpointRecoveryFactory);
jobGraph, checkNotNull(checkpointRecoveryFactory));

this.executionGraph =
createAndRestoreExecutionGraph(
Expand Down

0 comments on commit 0a44c3a

Please sign in to comment.