org.apache.hadoop.hive.shims
Interface HadoopShims.HCatHadoopShims

Enclosing interface:
HadoopShims

public static interface HadoopShims.HCatHadoopShims


Nested Class Summary
static class HadoopShims.HCatHadoopShims.PropertyName
           
 
Method Summary
 void abortJob(OutputFormat outputFormat, Job job)
           
 void commitJob(OutputFormat outputFormat, Job job)
           
 JobContext createJobContext(Configuration conf, JobID jobId)
           
 org.apache.hadoop.mapred.JobContext createJobContext(JobConf conf, JobID jobId, Progressable progressable)
           
 org.apache.hadoop.mapreduce.TaskAttemptContext createTaskAttemptContext(Configuration conf, TaskAttemptID taskId)
           
 org.apache.hadoop.mapred.TaskAttemptContext createTaskAttemptContext(JobConf conf, org.apache.hadoop.mapred.TaskAttemptID taskId, Progressable progressable)
           
 TaskAttemptID createTaskAttemptID()
           
 TaskID createTaskID()
           
 String getPropertyName(HadoopShims.HCatHadoopShims.PropertyName name)
           
 InetSocketAddress getResourceManagerAddress(Configuration conf)
           
 boolean isFileInHDFS(FileSystem fs, Path path)
          Checks if file is in HDFS filesystem.
 

Method Detail

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