use of alluxio.master.MultiMasterLocalAlluxioCluster in project alluxio by Alluxio.
the class FileSystemMasterFaultToleranceIntegrationTest method before.
@Before
public final void before() throws Exception {
mMultiMasterLocalAlluxioCluster = new MultiMasterLocalAlluxioCluster(2, 0);
mMultiMasterLocalAlluxioCluster.initConfiguration(IntegrationTestUtils.getTestName(getClass().getSimpleName(), mTestName.getMethodName()));
ServerConfiguration.set(PropertyKey.USER_RPC_RETRY_MAX_DURATION, "60sec");
ServerConfiguration.set(PropertyKey.USER_RPC_RETRY_MAX_SLEEP_MS, "1sec");
ServerConfiguration.set(PropertyKey.NETWORK_CONNECTION_SERVER_SHUTDOWN_TIMEOUT, "30sec");
ServerConfiguration.set(PropertyKey.MASTER_JOURNAL_TAILER_SHUTDOWN_QUIET_WAIT_TIME_MS, "0sec");
ServerConfiguration.set(PropertyKey.SECURITY_LOGIN_USERNAME, TEST_USER);
mMultiMasterLocalAlluxioCluster.start();
}
use of alluxio.master.MultiMasterLocalAlluxioCluster in project alluxio by Alluxio.
the class MasterFailoverIntegrationTest method before.
@Before
public final void before() throws Exception {
mMultiMasterLocalAlluxioCluster = new MultiMasterLocalAlluxioCluster(2);
mMultiMasterLocalAlluxioCluster.initConfiguration(IntegrationTestUtils.getTestName(getClass().getSimpleName(), mTestName.getMethodName()));
ServerConfiguration.set(PropertyKey.USER_RPC_RETRY_MAX_DURATION, "60sec");
ServerConfiguration.set(PropertyKey.USER_RPC_RETRY_MAX_SLEEP_MS, "1sec");
ServerConfiguration.set(PropertyKey.NETWORK_CONNECTION_SERVER_SHUTDOWN_TIMEOUT, "30sec");
ServerConfiguration.set(PropertyKey.MASTER_JOURNAL_TAILER_SHUTDOWN_QUIET_WAIT_TIME_MS, "0sec");
ServerConfiguration.set(PropertyKey.MASTER_MOUNT_TABLE_ROOT_UFS, DelegatingUnderFileSystemFactory.DELEGATING_SCHEME + "://" + LOCAL_UFS_PATH);
mMultiMasterLocalAlluxioCluster.start();
mFileSystem = mMultiMasterLocalAlluxioCluster.getClient();
}
Aggregations