Search in sources :

Example 1 with JobIdGenerator

use of alluxio.job.meta.JobIdGenerator in project alluxio by Alluxio.

the class PlanTrackerTest method before.

@Before
public void before() {
    mMockWorkflowTracker = mock(WorkflowTracker.class);
    mTracker = new PlanTracker(CAPACITY, RETENTION_TIME, PURGE_CONUT, mMockWorkflowTracker);
    mCommandManager = new CommandManager();
    mMockJobServerContext = mock(JobServerContext.class);
    mWorkers = Lists.newArrayList(new WorkerInfo());
    mJobIdGenerator = new JobIdGenerator();
}
Also used : JobServerContext(alluxio.job.JobServerContext) CommandManager(alluxio.master.job.command.CommandManager) WorkflowTracker(alluxio.master.job.workflow.WorkflowTracker) WorkerInfo(alluxio.wire.WorkerInfo) JobIdGenerator(alluxio.job.meta.JobIdGenerator) Before(org.junit.Before)

Aggregations

JobServerContext (alluxio.job.JobServerContext)1 JobIdGenerator (alluxio.job.meta.JobIdGenerator)1 CommandManager (alluxio.master.job.command.CommandManager)1 WorkflowTracker (alluxio.master.job.workflow.WorkflowTracker)1 WorkerInfo (alluxio.wire.WorkerInfo)1 Before (org.junit.Before)1