public static interface HadoopShims.HCatHadoopShims
Modifier and Type | Interface and Description |
---|---|
static class |
HadoopShims.HCatHadoopShims.PropertyName |
Modifier and Type | Method and Description |
---|---|
void |
abortJob(org.apache.hadoop.mapreduce.OutputFormat outputFormat,
org.apache.hadoop.mapreduce.Job job) |
void |
commitJob(org.apache.hadoop.mapreduce.OutputFormat outputFormat,
org.apache.hadoop.mapreduce.Job job) |
org.apache.hadoop.mapreduce.JobContext |
createJobContext(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.mapreduce.JobID jobId) |
org.apache.hadoop.mapred.JobContext |
createJobContext(org.apache.hadoop.mapred.JobConf conf,
org.apache.hadoop.mapreduce.JobID jobId,
org.apache.hadoop.util.Progressable progressable) |
org.apache.hadoop.mapreduce.TaskAttemptContext |
createTaskAttemptContext(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.mapreduce.TaskAttemptID taskId) |
org.apache.hadoop.mapred.TaskAttemptContext |
createTaskAttemptContext(org.apache.hadoop.mapred.JobConf conf,
org.apache.hadoop.mapred.TaskAttemptID taskId,
org.apache.hadoop.util.Progressable progressable) |
org.apache.hadoop.mapreduce.TaskAttemptID |
createTaskAttemptID() |
org.apache.hadoop.mapreduce.TaskID |
createTaskID() |
String |
getPropertyName(HadoopShims.HCatHadoopShims.PropertyName name) |
InetSocketAddress |
getResourceManagerAddress(org.apache.hadoop.conf.Configuration conf) |
boolean |
isFileInHDFS(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
Checks if file is in HDFS filesystem.
|
org.apache.hadoop.mapreduce.TaskID createTaskID()
org.apache.hadoop.mapreduce.TaskAttemptID createTaskAttemptID()
org.apache.hadoop.mapreduce.TaskAttemptContext createTaskAttemptContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.mapreduce.TaskAttemptID taskId)
org.apache.hadoop.mapred.TaskAttemptContext createTaskAttemptContext(org.apache.hadoop.mapred.JobConf conf, org.apache.hadoop.mapred.TaskAttemptID taskId, org.apache.hadoop.util.Progressable progressable)
org.apache.hadoop.mapreduce.JobContext createJobContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.mapreduce.JobID jobId)
org.apache.hadoop.mapred.JobContext createJobContext(org.apache.hadoop.mapred.JobConf conf, org.apache.hadoop.mapreduce.JobID jobId, org.apache.hadoop.util.Progressable progressable)
void commitJob(org.apache.hadoop.mapreduce.OutputFormat outputFormat, org.apache.hadoop.mapreduce.Job job) throws IOException
IOException
void abortJob(org.apache.hadoop.mapreduce.OutputFormat outputFormat, org.apache.hadoop.mapreduce.Job job) throws IOException
IOException
InetSocketAddress getResourceManagerAddress(org.apache.hadoop.conf.Configuration conf)
String getPropertyName(HadoopShims.HCatHadoopShims.PropertyName name)
boolean isFileInHDFS(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path) throws IOException
fs
- path
- IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.