public class HadoopConverterTask extends ConvertSegmentTask
Modifier and Type | Class and Description |
---|---|
static class |
HadoopConverterTask.ConverterSubTask |
static class |
HadoopConverterTask.JobInvoker |
ConvertSegmentTask.SubTask
Constructor and Description |
---|
HadoopConverterTask(String id,
String dataSource,
org.joda.time.Interval interval,
IndexSpec indexSpec,
boolean force,
Boolean validate,
List<String> hadoopDependencyCoordinates,
URI distributedSuccessCache,
String jobPriority,
String segmentOutputPath,
String classpathPrefix) |
Modifier and Type | Method and Description |
---|---|
protected Iterable<Task> |
generateSubTasks(String groupId,
Iterable<io.druid.timeline.DataSegment> segments,
IndexSpec indexSpec,
boolean force,
boolean validate) |
String |
getClasspathPrefix()
Returns an extra classpath that should be prepended to the default classpath when running this task.
|
URI |
getDistributedSuccessCache() |
List<String> |
getHadoopDependencyCoordinates() |
String |
getJobPriority() |
io.druid.timeline.DataSegment |
getSegment() |
String |
getSegmentOutputPath() |
String |
getType()
Returns a descriptive label for this task type.
|
create, create, equals, getIndexSpec, isForce, isValidate, run
getInterval, isReady
getDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskLocks, getTaskResource, hashCode, joinId, makeId, success, toString
public HadoopConverterTask(String id, String dataSource, org.joda.time.Interval interval, IndexSpec indexSpec, boolean force, Boolean validate, List<String> hadoopDependencyCoordinates, URI distributedSuccessCache, String jobPriority, String segmentOutputPath, String classpathPrefix)
public URI getDistributedSuccessCache()
public String getJobPriority()
public String getSegmentOutputPath()
public String getClasspathPrefix()
Task
getClasspathPrefix
in interface Task
getClasspathPrefix
in class AbstractTask
protected Iterable<Task> generateSubTasks(String groupId, Iterable<io.druid.timeline.DataSegment> segments, IndexSpec indexSpec, boolean force, boolean validate)
generateSubTasks
in class ConvertSegmentTask
public io.druid.timeline.DataSegment getSegment()
getSegment
in class ConvertSegmentTask
Copyright © 2011–2015. All rights reserved.