public static class HadoopConverterTask.ConverterSubTask extends HadoopTask
Constructor and Description |
---|
HadoopConverterTask.ConverterSubTask(List<io.druid.timeline.DataSegment> segments,
HadoopConverterTask parent) |
Modifier and Type | Method and Description |
---|---|
HadoopConverterTask |
getParent() |
List<io.druid.timeline.DataSegment> |
getSegments() |
String |
getType()
Returns a descriptive label for this task type.
|
boolean |
isReady(TaskActionClient taskActionClient)
Execute preflight actions for a task.
|
TaskStatus |
run(TaskToolbox toolbox)
Execute a task.
|
buildClassLoader, getHadoopDependencyCoordinates, invokeForeignLoader
equals, getClasspathPrefix, getDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskLocks, getTaskResource, hashCode, joinId, makeId, success, toString
public HadoopConverterTask.ConverterSubTask(List<io.druid.timeline.DataSegment> segments, HadoopConverterTask parent)
public List<io.druid.timeline.DataSegment> getSegments()
public HadoopConverterTask getParent()
public String getType()
Task
public boolean isReady(TaskActionClient taskActionClient) throws Exception
Task
taskActionClient
- action client for this task (not the full toolbox)Exception
- if the task should be considered a failurepublic TaskStatus run(TaskToolbox toolbox) throws Exception
Task
toolbox
- Toolbox for this taskException
- if this task failedCopyright © 2011–2015. All rights reserved.