org.apache.hadoop.hive.ql.io.rcfile.merge
Class RCFileMergeMapper

java.lang.Object
  extended by MapReduceBase
      extended by org.apache.hadoop.hive.ql.io.rcfile.merge.RCFileMergeMapper

public class RCFileMergeMapper
extends MapReduceBase


Field Summary
static String BACKUP_PREFIX
           
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
RCFileMergeMapper()
           
 
Method Summary
static Path backupOutputPath(FileSystem fs, Path outpath, JobConf job)
           
 void close()
           
 void configure(JobConf job)
           
static void jobClose(String outputPath, boolean success, JobConf job, SessionState.LogHelper console, DynamicPartitionCtx dynPartCtx, Reporter reporter)
           
 void map(Object k, RCFileValueBufferWrapper value,  output, Reporter reporter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG

BACKUP_PREFIX

public static String BACKUP_PREFIX
Constructor Detail

RCFileMergeMapper

public RCFileMergeMapper()
Method Detail

configure

public void configure(JobConf job)

map

public void map(Object k,
                RCFileValueBufferWrapper value,
                 output,
                Reporter reporter)
         throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

backupOutputPath

public static Path backupOutputPath(FileSystem fs,
                                    Path outpath,
                                    JobConf job)
                             throws IOException,
                                    HiveException
Throws:
IOException
HiveException

jobClose

public static void jobClose(String outputPath,
                            boolean success,
                            JobConf job,
                            SessionState.LogHelper console,
                            DynamicPartitionCtx dynPartCtx,
                            Reporter reporter)
                     throws HiveException,
                            IOException
Throws:
HiveException
IOException


Copyright © 2012 The Apache Software Foundation