public class InterRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple>
InterRecordWriter
It uses the default InterSedes object for serialization.| Constructor and Description |
|---|
InterRecordWriter(org.apache.hadoop.fs.FSDataOutputStream out,
int syncMarkerLength,
long syncMarkerInterval) |
public InterRecordWriter(org.apache.hadoop.fs.FSDataOutputStream out,
int syncMarkerLength,
long syncMarkerInterval)
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext arg0)
throws IOException,
InterruptedException
close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple>IOExceptionInterruptedExceptionpublic void write(org.apache.hadoop.io.WritableComparable wc,
Tuple t)
throws IOException,
InterruptedException
write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple>IOExceptionInterruptedExceptionCopyright © 2007-2012 The Apache Software Foundation