use of org.apache.flink.runtime.blob.VoidBlobStore in project flink by apache.
the class ClientUtilsTest method setup.
@BeforeClass
public static void setup() throws IOException {
Configuration config = new Configuration();
blobServer = new BlobServer(config, temporaryFolder.newFolder(), new VoidBlobStore());
blobServer.start();
}
use of org.apache.flink.runtime.blob.VoidBlobStore in project flink by apache.
the class JobSubmitHandlerTest method setup.
@Before
public void setup() throws IOException {
Configuration config = new Configuration(configuration);
blobServer = new BlobServer(config, TEMPORARY_FOLDER.newFolder(), new VoidBlobStore());
blobServer.start();
}
use of org.apache.flink.runtime.blob.VoidBlobStore in project flink by apache.
the class AbstractTaskManagerFileHandlerTest method setup.
@BeforeClass
public static void setup() throws IOException, HandlerRequestException {
final Configuration configuration = new Configuration();
blobServer = new BlobServer(configuration, temporaryFolder.newFolder(), new VoidBlobStore());
handlerRequest = HandlerRequest.resolveParametersAndCreate(EmptyRequestBody.getInstance(), new TaskManagerFileMessageParameters(), Collections.singletonMap(TaskManagerIdPathParameter.KEY, EXPECTED_TASK_MANAGER_ID.getResourceIdString()), Collections.emptyMap(), Collections.emptyList());
}
use of org.apache.flink.runtime.blob.VoidBlobStore in project flink by apache.
the class ZooKeeperLeaderRetrievalTest method before.
@Before
public void before() throws Exception {
testingServer = new TestingServer();
config = new Configuration();
config.setString(HighAvailabilityOptions.HA_MODE, "zookeeper");
config.setString(HighAvailabilityOptions.HA_ZOOKEEPER_QUORUM, testingServer.getConnectString());
highAvailabilityServices = new ZooKeeperHaServices(ZooKeeperUtils.startCuratorFramework(config, testingFatalErrorHandlerResource.getFatalErrorHandler()), TestingUtils.defaultExecutor(), config, new VoidBlobStore());
}
use of org.apache.flink.runtime.blob.VoidBlobStore in project flink by apache.
the class AbstractDispatcherTest method setUp.
@Before
public void setUp() throws Exception {
heartbeatServices = new HeartbeatServices(1000L, 10000L);
haServices = new TestingHighAvailabilityServices();
haServices.setCheckpointRecoveryFactory(new StandaloneCheckpointRecoveryFactory());
haServices.setResourceManagerLeaderRetriever(new SettableLeaderRetrievalService());
haServices.setJobGraphStore(new StandaloneJobGraphStore());
haServices.setJobResultStore(new EmbeddedJobResultStore());
configuration = new Configuration();
blobServer = new BlobServer(configuration, temporaryFolder.newFolder(), new VoidBlobStore());
}
Aggregations