Search in sources :

Example 1 with PravegaSegmentStoreService

use of io.pravega.test.system.framework.services.marathon.PravegaSegmentStoreService in project pravega by pravega.

the class Utils method createPravegaSegmentStoreService.

public static Service createPravegaSegmentStoreService(final URI zkUri, final URI contUri) {
    URI hdfsUri = null;
    if (DOCKER_BASED) {
        Service hdfsService = new HDFSDockerService("hdfs");
        if (!hdfsService.isRunning()) {
            hdfsService.start(true);
        }
        hdfsUri = hdfsService.getServiceDetails().get(0);
    }
    return DOCKER_BASED ? new PravegaSegmentStoreDockerService("segmentstore", zkUri, hdfsUri, contUri) : new PravegaSegmentStoreService("segmentstore", zkUri, contUri);
}
Also used : PravegaSegmentStoreService(io.pravega.test.system.framework.services.marathon.PravegaSegmentStoreService) PravegaSegmentStoreDockerService(io.pravega.test.system.framework.services.docker.PravegaSegmentStoreDockerService) ZookeeperDockerService(io.pravega.test.system.framework.services.docker.ZookeeperDockerService) BookkeeperDockerService(io.pravega.test.system.framework.services.docker.BookkeeperDockerService) HDFSDockerService(io.pravega.test.system.framework.services.docker.HDFSDockerService) PravegaControllerDockerService(io.pravega.test.system.framework.services.docker.PravegaControllerDockerService) BookkeeperService(io.pravega.test.system.framework.services.marathon.BookkeeperService) PravegaSegmentStoreService(io.pravega.test.system.framework.services.marathon.PravegaSegmentStoreService) ZookeeperService(io.pravega.test.system.framework.services.marathon.ZookeeperService) PravegaControllerService(io.pravega.test.system.framework.services.marathon.PravegaControllerService) Service(io.pravega.test.system.framework.services.Service) HDFSDockerService(io.pravega.test.system.framework.services.docker.HDFSDockerService) URI(java.net.URI) PravegaSegmentStoreDockerService(io.pravega.test.system.framework.services.docker.PravegaSegmentStoreDockerService)

Aggregations

Service (io.pravega.test.system.framework.services.Service)1 BookkeeperDockerService (io.pravega.test.system.framework.services.docker.BookkeeperDockerService)1 HDFSDockerService (io.pravega.test.system.framework.services.docker.HDFSDockerService)1 PravegaControllerDockerService (io.pravega.test.system.framework.services.docker.PravegaControllerDockerService)1 PravegaSegmentStoreDockerService (io.pravega.test.system.framework.services.docker.PravegaSegmentStoreDockerService)1 ZookeeperDockerService (io.pravega.test.system.framework.services.docker.ZookeeperDockerService)1 BookkeeperService (io.pravega.test.system.framework.services.marathon.BookkeeperService)1 PravegaControllerService (io.pravega.test.system.framework.services.marathon.PravegaControllerService)1 PravegaSegmentStoreService (io.pravega.test.system.framework.services.marathon.PravegaSegmentStoreService)1 ZookeeperService (io.pravega.test.system.framework.services.marathon.ZookeeperService)1 URI (java.net.URI)1