org.apache.hadoop.hive.shims
Interface HadoopShims.HCatHadoopShims
- Enclosing interface:
- HadoopShims
public static interface HadoopShims.HCatHadoopShims
createTaskID
TaskID createTaskID()
createTaskAttemptID
TaskAttemptID createTaskAttemptID()
createTaskAttemptContext
org.apache.hadoop.mapreduce.TaskAttemptContext createTaskAttemptContext(Configuration conf,
TaskAttemptID taskId)
createTaskAttemptContext
org.apache.hadoop.mapred.TaskAttemptContext createTaskAttemptContext(JobConf conf,
org.apache.hadoop.mapred.TaskAttemptID taskId,
Progressable progressable)
createJobContext
JobContext createJobContext(Configuration conf,
JobID jobId)
createJobContext
org.apache.hadoop.mapred.JobContext createJobContext(JobConf conf,
JobID jobId,
Progressable progressable)
commitJob
void commitJob(OutputFormat outputFormat,
Job job)
throws IOException
- Throws:
IOException
abortJob
void abortJob(OutputFormat outputFormat,
Job job)
throws IOException
- Throws:
IOException
getResourceManagerAddress
InetSocketAddress getResourceManagerAddress(Configuration conf)
getPropertyName
String getPropertyName(HadoopShims.HCatHadoopShims.PropertyName name)
isFileInHDFS
boolean isFileInHDFS(FileSystem fs,
Path path)
throws IOException
- Checks if file is in HDFS filesystem.
- Parameters:
fs
- path
-
- Returns:
- true if the file is in HDFS, false if the file is in other file systems.
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation