public class HadoopConverterJob extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HadoopConverterJob.ConfigInputFormat |
static class |
HadoopConverterJob.ConvertingMapper |
static class |
HadoopConverterJob.ConvertingOutputFormat |
Constructor and Description |
---|
HadoopConverterJob(HadoopDruidConverterConfig converterConfig) |
Modifier and Type | Method and Description |
---|---|
static void |
cleanup(org.apache.hadoop.mapreduce.Job job) |
static HadoopDruidConverterConfig |
converterConfigFromConfiguration(org.apache.hadoop.conf.Configuration configuration) |
static void |
converterConfigIntoConfiguration(HadoopDruidConverterConfig priorConfig,
List<io.druid.timeline.DataSegment> segments,
org.apache.hadoop.conf.Configuration configuration) |
static org.apache.hadoop.fs.Path |
getJobPath(org.apache.hadoop.mapreduce.JobID jobID,
org.apache.hadoop.fs.Path workingDirectory) |
long |
getLoadedBytes() |
static org.apache.hadoop.fs.Path |
getTaskPath(org.apache.hadoop.mapreduce.JobID jobID,
org.apache.hadoop.mapreduce.TaskAttemptID taskAttemptID,
org.apache.hadoop.fs.Path workingDirectory) |
long |
getWrittenBytes() |
List<io.druid.timeline.DataSegment> |
run() |
public HadoopConverterJob(HadoopDruidConverterConfig converterConfig)
public static org.apache.hadoop.fs.Path getJobPath(org.apache.hadoop.mapreduce.JobID jobID, org.apache.hadoop.fs.Path workingDirectory)
public static org.apache.hadoop.fs.Path getTaskPath(org.apache.hadoop.mapreduce.JobID jobID, org.apache.hadoop.mapreduce.TaskAttemptID taskAttemptID, org.apache.hadoop.fs.Path workingDirectory)
public static void cleanup(org.apache.hadoop.mapreduce.Job job) throws IOException
IOException
public static HadoopDruidConverterConfig converterConfigFromConfiguration(org.apache.hadoop.conf.Configuration configuration) throws IOException
IOException
public static void converterConfigIntoConfiguration(HadoopDruidConverterConfig priorConfig, List<io.druid.timeline.DataSegment> segments, org.apache.hadoop.conf.Configuration configuration)
public List<io.druid.timeline.DataSegment> run() throws IOException
IOException
public long getLoadedBytes()
public long getWrittenBytes()
Copyright © 2011–2015. All rights reserved.