110111112113114115116117118119120
sqlTaskManager = new SqlTaskManager( planner, new MockLocationFactory(), taskExecutor, new QueryMonitor(new ObjectMapperProvider().get(), new NullEventClient(), new NodeInfo("test")), new TaskManagerConfig()); tableScanNodeId = new PlanNodeId("tableScan"); testFragment = new PlanFragment(new PlanFragmentId("fragment"), tableScanNodeId,
244245246247248249250251252253254
{ sqlTaskManager = new SqlTaskManager( planner, new MockLocationFactory(), taskExecutor, new QueryMonitor(new ObjectMapperProvider().get(), new NullEventClient(), new NodeInfo("test")), new TaskManagerConfig().setInfoMaxAge(new Duration(5, TimeUnit.MILLISECONDS))); TaskInfo taskInfo = sqlTaskManager.updateTask(session, taskId, testFragment,
7879808182838485
sqlTaskExecutionFactory = new SqlTaskExecutionFactory( taskNotificationExecutor, taskExecutor, planner, new QueryMonitor(new ObjectMapperProvider().get(), new NullEventClient(), new NodeInfo("test")), new TaskManagerConfig()); }
213214215216217218219220
{ return new SqlTaskManager( createTestingPlanner(), new MockLocationFactory(), taskExecutor, new QueryMonitor(new ObjectMapperProvider().get(), new NullEventClient(), new NodeInfo("test")), config); }
164165166167168169170171
new DataSize(32, Unit.MEGABYTE), taskExecutor, taskNotificationExecutor, new DataSize(256, Unit.MEGABYTE), new DataSize(8, Unit.MEGABYTE), new QueryMonitor(new ObjectMapperProvider().get(), new NullEventClient(), new NodeInfo("test")), false); }
109110111112113114115116117118119
sqlTaskManager = new SqlTaskManager( planner, new MockLocationFactory(), taskExecutor, new QueryMonitor(new ObjectMapperProvider().get(), new NullEventClient(), new NodeInfo("test")), new TaskManagerConfig()); tableScanNodeId = new PlanNodeId("tableScan"); testFragment = new PlanFragment( new PlanFragmentId("fragment"),
253254255256257258259260261262263
133134135136137138139140