Generated by
JDiff

Class org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat

The superclass changed from java.lang.Object to org.apache.hadoop.mapreduce.OutputFormat.
Removed interface org.apache.hadoop.mapred.OutputFormat.

Removed Methods
RecordWriter getRecordWriter(FileSystem, JobConf, String, Progressable) In general the mechanism for an OutputFormat in Pig to get hold of the storeFunc and the metadata information (for now schema and location provided for the store in the pig script) is through the following Utility static methods: org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil#getStoreFunc(JobConf) - this will get the org.apache.pig.StoreFunc reference to use in the RecordWriter.write() MapRedUtil#getStoreConfig(JobConf) - this will get the org.apache.pig.StoreConfig reference which has metadata like the location (the string supplied with store statement in the script) and the org.apache.pig.impl.logicalLayer.schema.Schema of the data.
PigRecordWriter getRecordWriter(FileSystem, JobConf, Path, String, Progressable)  
 

Added Methods
OutputCommitter getOutputCommitter(TaskAttemptContext)  
RecordWriter getRecordWriter(TaskAttemptContext)  
void setLocation(JobContext, POStore) Before delegating calls to underlying OutputFormat or OutputCommitter Pig needs to ensure the Configuration in the JobContext contains the output location and StoreFunc for the specific store - so set these up in the context for this specific store
 

Changed Methods
void checkOutputSpecs(JobContext) Change in signature from (FileSystem, JobConf) to JobContext.
Change in exceptions thrown from java.io.IOException to (java.io.IOException, java.lang.InterruptedException).
 
 

Removed Fields
String PIG_OUTPUT_FUNC  
 

Added Fields
String MAPRED_OUTPUT_DIR hadoop job output directory
String MAPRED_TASK_PARTITION hadoop partition number
String PIG_MAPRED_OUTPUT_DIR the temporary directory for the multi store
String PIG_TMP_PATH the relative path that can be used to build a temporary place to store the output from a number of map-reduce tasks