HCatBaseOutputFormat insteadpublic abstract class HCatBaseOutputFormat
extends <any>
| Constructor and Description |
|---|
HCatBaseOutputFormat()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkOutputSpecs(JobContext context)
Deprecated.
Check for validity of the output-specification for the job.
|
protected static void |
configureOutputStorageHandler(JobContext context,
OutputJobInfo jobInfo,
java.util.Map<java.lang.String,java.lang.String> fullPartSpec)
Deprecated.
Configure the output storage handler, with allowing specification
of partvals from which it picks the dynamic partvals
|
static OutputJobInfo |
getJobInfo(Configuration conf)
Deprecated.
Gets the HCatOuputJobInfo object by reading the Configuration and deserializing
the string.
|
static OutputJobInfo |
getJobInfo(JobContext jobContext)
Deprecated.
use
#getJobInfo(org.apache.hadoop.conf.Configuration) |
protected <any> |
getOutputFormat(JobContext context)
Deprecated.
Gets the output format instance.
|
static HCatSchema |
getTableSchema(Configuration conf)
Deprecated.
Gets the table schema for the table specified in the HCatOutputFormat.setOutput call
on the specified job context.
|
static HCatSchema |
getTableSchema(JobContext context)
Deprecated.
Use
#getTableSchema(org.apache.hadoop.conf.Configuration) |
protected static void |
setPartDetails(OutputJobInfo jobInfo,
HCatSchema schema,
java.util.Map<java.lang.String,java.lang.String> partMap)
Deprecated.
|
public static HCatSchema getTableSchema(JobContext context) throws java.io.IOException
#getTableSchema(org.apache.hadoop.conf.Configuration)java.io.IOExceptionorg.apache.hcatalog.mapreduce.HCatBaseOutputFormat#getTableSchema(org.apache.hadoop.conf.Configuration)public static HCatSchema getTableSchema(Configuration conf) throws java.io.IOException
conf - the Configuration objectjava.io.IOException - if HCatOutputFormat.setOutput has not been called for the passed contextpublic void checkOutputSpecs(JobContext context)
throws java.io.IOException,
java.lang.InterruptedException
context - information about the jobjava.io.IOException - when output should not be attemptedjava.lang.InterruptedExceptionprotected <any> getOutputFormat(JobContext context)
throws java.io.IOException
context - the job contextjava.io.IOExceptionpublic static OutputJobInfo getJobInfo(JobContext jobContext) throws java.io.IOException
#getJobInfo(org.apache.hadoop.conf.Configuration)java.io.IOExceptionorg.apache.hcatalog.mapreduce.HCatBaseOutputFormat#getJobInfo(org.apache.hadoop.conf.Configuration)public static OutputJobInfo getJobInfo(Configuration conf) throws java.io.IOException
conf - the job Configuration objectjava.io.IOException - the IO exceptionprotected static void configureOutputStorageHandler(JobContext context,
OutputJobInfo jobInfo,
java.util.Map<java.lang.String,java.lang.String> fullPartSpec)
throws java.io.IOException
context - the job contextjobInfo - the output job infofullPartSpec - java.io.IOExceptionprotected static void setPartDetails(OutputJobInfo jobInfo, HCatSchema schema, java.util.Map<java.lang.String,java.lang.String> partMap) throws HCatException, java.io.IOException
HCatExceptionjava.io.IOExceptionCopyright © 2012 The Apache Software Foundation