@Override public RecordWriter<WritableComparable, AvroGenericRecordWritable> getRecordWriter(FileSystem ignored, JobConf job, String fileName, Progressable progress) throws IOException { return new WrapperRecordWriter<WritableComparable, AvroGenericRecordWritable>(job,progress,fileName); }
@Override public void write(K key, V value) throws IOException { getHiveWriter().write(value); }
@Override public void close(Reporter reporter) throws IOException { // Normally, I'd worry about the blanket false being passed in here, and that // it'd need to be integrated into an abort call for an OutputCommitter, but the // underlying recordwriter ignores it and throws it away, so it's irrelevant. getHiveWriter().close(false); }
@Override public void write(K key, V value) throws IOException { getHiveWriter().write(value); }
@Override public void close(Reporter reporter) throws IOException { // Normally, I'd worry about the blanket false being passed in here, and that // it'd need to be integrated into an abort call for an OutputCommitter, but the // underlying recordwriter ignores it and throws it away, so it's irrelevant. getHiveWriter().close(false); }
@Override public RecordWriter<WritableComparable, AvroGenericRecordWritable> getRecordWriter(FileSystem ignored, JobConf job, String fileName, Progressable progress) throws IOException { return new WrapperRecordWriter<WritableComparable, AvroGenericRecordWritable>(job,progress,fileName); }
@Override public void write(K key, V value) throws IOException { getHiveWriter().write(value); }
@Override public void close(Reporter reporter) throws IOException { // Normally, I'd worry about the blanket false being passed in here, and that // it'd need to be integrated into an abort call for an OutputCommitter, but the // underlying recordwriter ignores it and throws it away, so it's irrelevant. getHiveWriter().close(false); }
@Override public RecordWriter<WritableComparable, AvroGenericRecordWritable> getRecordWriter(FileSystem ignored, JobConf job, String fileName, Progressable progress) throws IOException { return new WrapperRecordWriter<WritableComparable, AvroGenericRecordWritable>(job,progress,fileName); }