fix more test breakage

This commit is contained in:
fjy 2014-06-17 10:35:01 -07:00
parent 8a13e34c50
commit 5227b43050
2 changed files with 3 additions and 2 deletions

View File

@ -121,7 +121,7 @@ public class WorkerTaskMonitorTest
workerCuratorCoordinator,
new ThreadPoolTaskRunner(
new TaskToolboxFactory(
new TaskConfig(tmp.toString(), null, null, 0),
new TaskConfig(tmp.toString(), null, null, 0, null),
null, null, null, null, null, null, null, null, null, null, null, new SegmentLoaderFactory(
new OmniSegmentLoader(
ImmutableMap.<String, DataSegmentPuller>of(

View File

@ -24,6 +24,7 @@ import com.google.common.base.Throwables;
import com.google.inject.Inject;
import io.airlift.command.Command;
import io.airlift.command.Option;
import io.druid.indexing.common.config.TaskConfig;
import io.druid.indexing.common.task.HadoopIndexTask;
import io.druid.initialization.Initialization;
import io.druid.server.initialization.ExtensionsConfig;
@ -62,7 +63,7 @@ public class PullDependencies implements Runnable
allCoordinates.addAll(coordinates);
}
if (!noDefaultHadoop) {
allCoordinates.add(HadoopIndexTask.DEFAULT_HADOOP_COORDINATES);
allCoordinates.addAll(TaskConfig.DEFAULT_DEFAULT_HADOOP_COORDINATES);
}
try {
final DefaultTeslaAether aetherClient = Initialization.getAetherClient(extensionsConfig);