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<DataSegment> segments,
org.apache.hadoop.conf.Configuration configuration) |
static org.apache.hadoop.fs.Path |
getJobClassPathDir(String jobName,
org.apache.hadoop.fs.Path workingDirectory) |
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<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 org.apache.hadoop.fs.Path getJobClassPathDir(String jobName, org.apache.hadoop.fs.Path workingDirectory) throws IOException
IOExceptionpublic static void cleanup(org.apache.hadoop.mapreduce.Job job)
throws IOException
IOExceptionpublic static HadoopDruidConverterConfig converterConfigFromConfiguration(org.apache.hadoop.conf.Configuration configuration) throws IOException
IOExceptionpublic static void converterConfigIntoConfiguration(HadoopDruidConverterConfig priorConfig, List<DataSegment> segments, org.apache.hadoop.conf.Configuration configuration)
public List<DataSegment> run() throws IOException
IOExceptionpublic long getLoadedBytes()
public long getWrittenBytes()
Copyright © 2011–2017. All rights reserved.