Search in sources :

Example 11 with LocalAlluxioJobCluster

use of alluxio.master.LocalAlluxioJobCluster in project alluxio by Alluxio.

the class LostWorkerIntegrationTest method before.

@Before
public void before() throws Exception {
    mLocalAlluxioJobCluster = new LocalAlluxioJobCluster();
    mLocalAlluxioJobCluster.start();
}
Also used : LocalAlluxioJobCluster(alluxio.master.LocalAlluxioJobCluster) Before(org.junit.Before)

Example 12 with LocalAlluxioJobCluster

use of alluxio.master.LocalAlluxioJobCluster in project alluxio by Alluxio.

the class JobMasterRestApiTest method before.

@Before
public void before() throws Exception {
    mJobCluster = new LocalAlluxioJobCluster();
    mJobCluster.start();
    mHostname = mJobCluster.getHostname();
    mPort = mJobCluster.getMaster().getWebAddress().getPort();
    mServicePrefix = AlluxioJobMasterRestServiceHandler.SERVICE_PREFIX;
}
Also used : LocalAlluxioJobCluster(alluxio.master.LocalAlluxioJobCluster) Before(org.junit.Before)

Example 13 with LocalAlluxioJobCluster

use of alluxio.master.LocalAlluxioJobCluster in project alluxio by Alluxio.

the class AbstractFileOutStreamIntegrationTest method before.

@Before
public void before() throws Exception {
    mLocalAlluxioJobCluster = new LocalAlluxioJobCluster();
    mLocalAlluxioJobCluster.start();
    mFileSystem = mLocalAlluxioClusterResource.get().getClient();
}
Also used : LocalAlluxioJobCluster(alluxio.master.LocalAlluxioJobCluster) Before(org.junit.Before)

Example 14 with LocalAlluxioJobCluster

use of alluxio.master.LocalAlluxioJobCluster in project alluxio by Alluxio.

the class DistributedLoadCommandTest method beforeClass.

@BeforeClass
public static void beforeClass() throws Exception {
    sLocalAlluxioCluster = sResource.get();
    sLocalAlluxioJobCluster = new LocalAlluxioJobCluster();
    sLocalAlluxioJobCluster.start();
    sFileSystem = sLocalAlluxioCluster.getClient();
    sJobMaster = sLocalAlluxioJobCluster.getMaster().getJobMaster();
    sJobShell = new alluxio.cli.job.JobShell(ServerConfiguration.global());
    sFsShell = new FileSystemShell(ServerConfiguration.global());
}
Also used : LocalAlluxioJobCluster(alluxio.master.LocalAlluxioJobCluster) FileSystemShell(alluxio.cli.fs.FileSystemShell) BeforeClass(org.junit.BeforeClass)

Example 15 with LocalAlluxioJobCluster

use of alluxio.master.LocalAlluxioJobCluster in project alluxio by Alluxio.

the class JobWorkerHealthCheckClientIntegrationTest method before.

@Before
public final void before() throws Exception {
    mLocalAlluxioJobCluster = new LocalAlluxioJobCluster();
    mLocalAlluxioJobCluster.start();
    InetSocketAddress address = mLocalAlluxioJobCluster.getWorker().getRpcAddress();
    mHealthCheckClient = new JobWorkerHealthCheckClient(address, () -> new CountingRetry(1), ServerConfiguration.global());
}
Also used : JobWorkerHealthCheckClient(alluxio.worker.job.JobWorkerHealthCheckClient) LocalAlluxioJobCluster(alluxio.master.LocalAlluxioJobCluster) CountingRetry(alluxio.retry.CountingRetry) InetSocketAddress(java.net.InetSocketAddress) Before(org.junit.Before)

Aggregations

LocalAlluxioJobCluster (alluxio.master.LocalAlluxioJobCluster)15 Before (org.junit.Before)10 BeforeClass (org.junit.BeforeClass)5 FileSystemShell (alluxio.cli.fs.FileSystemShell)2 CountingRetry (alluxio.retry.CountingRetry)2 InetSocketAddress (java.net.InetSocketAddress)2 Constants (alluxio.Constants)1 JobShell (alluxio.cli.job.JobShell)1 PropertyKey (alluxio.conf.PropertyKey)1 Database (alluxio.grpc.table.Database)1 PrincipalType (alluxio.grpc.table.PrincipalType)1 HeartbeatContext (alluxio.heartbeat.HeartbeatContext)1 HeartbeatScheduler (alluxio.heartbeat.HeartbeatScheduler)1 ManuallyScheduleHeartbeat (alluxio.heartbeat.ManuallyScheduleHeartbeat)1 JobTestUtils (alluxio.job.util.JobTestUtils)1 JobInfo (alluxio.job.wire.JobInfo)1 Status (alluxio.job.wire.Status)1 LocalAlluxioCluster (alluxio.master.LocalAlluxioCluster)1 MultiMasterLocalAlluxioCluster (alluxio.master.MultiMasterLocalAlluxioCluster)1 JobMaster (alluxio.master.job.JobMaster)1