Skip to content

Commit

Permalink
[hotfix][runtime] Remove useless class ZooKeeperCompletedCheckpointSt…
Browse files Browse the repository at this point in the history
…oreITCase

This closes apache#12083
  • Loading branch information
zhengcanbin authored and StephanEwen committed May 14, 2020
1 parent e0438f9 commit f05faee
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.apache.flink.runtime.state.RetrievableStateHandle;
import org.apache.flink.runtime.state.SharedStateRegistry;
import org.apache.flink.runtime.util.ZooKeeperUtils;
import org.apache.flink.runtime.zookeeper.RetrievableStateStorageHelper;
import org.apache.flink.runtime.zookeeper.ZooKeeperStateHandleStore;
import org.apache.flink.runtime.zookeeper.ZooKeeperTestEnvironment;

Expand Down Expand Up @@ -284,14 +283,6 @@ public void testConcurrentCheckpointOperations() throws Exception {
recoveredTestCheckpoint.awaitDiscard();
}


static class HeapStateStorageHelper implements RetrievableStateStorageHelper<CompletedCheckpoint> {
@Override
public RetrievableStateHandle<CompletedCheckpoint> store(CompletedCheckpoint state) throws Exception {
return new HeapRetrievableStateHandle<>(state);
}
}

static class HeapRetrievableStateHandle<T extends Serializable> implements RetrievableStateHandle<T> {

private static final long serialVersionUID = -268548467968932L;
Expand Down

0 comments on commit f05faee

Please sign in to comment.