/** * Get the record writer for the job. This uses the StorageHandler's default * OutputFormat to get the record writer. * @param context the information about the current task * @return a RecordWriter to write the output for the job * @throws IOException * @throws InterruptedException */ @Override public RecordWriter<WritableComparable<?>, HCatRecord> getRecordWriter(TaskAttemptContext context) throws IOException, InterruptedException { return getOutputFormat(context).getRecordWriter(context); }
/** * Get the output committer for this output format. This is responsible * for ensuring the output is committed correctly. * @param context the task context * @return an output committer * @throws IOException * @throws InterruptedException */ @Override public OutputCommitter getOutputCommitter(TaskAttemptContext context ) throws IOException, InterruptedException { return getOutputFormat(context).getOutputCommitter(context); }
/** * Get the output committer for this output format. This is responsible * for ensuring the output is committed correctly. * @param context the task context * @return an output committer * @throws IOException * @throws InterruptedException */ @Override public OutputCommitter getOutputCommitter(TaskAttemptContext context ) throws IOException, InterruptedException { return getOutputFormat(context).getOutputCommitter(context); }
/** * Get the record writer for the job. This uses the StorageHandler's default * OutputFormat to get the record writer. * @param context the information about the current task * @return a RecordWriter to write the output for the job * @throws IOException * @throws InterruptedException */ @Override public RecordWriter<WritableComparable<?>, HCatRecord> getRecordWriter(TaskAttemptContext context) throws IOException, InterruptedException { return getOutputFormat(context).getRecordWriter(context); }
/** * Get the output committer for this output format. This is responsible * for ensuring the output is committed correctly. * @param context the task context * @return an output committer * @throws IOException * @throws InterruptedException */ @Override public OutputCommitter getOutputCommitter(TaskAttemptContext context ) throws IOException, InterruptedException { return getOutputFormat(context).getOutputCommitter(context); }
/** * Get the output committer for this output format. This is responsible * for ensuring the output is committed correctly. * @param context the task context * @return an output committer * @throws IOException * @throws InterruptedException */ @Override public OutputCommitter getOutputCommitter(TaskAttemptContext context ) throws IOException, InterruptedException { return getOutputFormat(context).getOutputCommitter(context); }
/** * Get the output committer for this output format. This is responsible * for ensuring the output is committed correctly. * @param context the task context * @return an output committer * @throws IOException * @throws InterruptedException */ @Override public OutputCommitter getOutputCommitter(TaskAttemptContext context ) throws IOException, InterruptedException { return getOutputFormat(context).getOutputCommitter(context); }
/** * Get the record writer for the job. This uses the StorageHandler's default * OutputFormat to get the record writer. * @param context the information about the current task * @return a RecordWriter to write the output for the job * @throws IOException * @throws InterruptedException */ @Override public RecordWriter<WritableComparable<?>, HCatRecord> getRecordWriter(TaskAttemptContext context) throws IOException, InterruptedException { return getOutputFormat(context).getRecordWriter(context); }
/** * Get the record writer for the job. This uses the StorageHandler's default * OutputFormat to get the record writer. * @param context the information about the current task * @return a RecordWriter to write the output for the job * @throws IOException * @throws InterruptedException */ @Override public RecordWriter<WritableComparable<?>, HCatRecord> getRecordWriter(TaskAttemptContext context) throws IOException, InterruptedException { return getOutputFormat(context).getRecordWriter(context); }
/** * Get the record writer for the job. This uses the StorageHandler's default * OutputFormat to get the record writer. * @param context the information about the current task * @return a RecordWriter to write the output for the job * @throws IOException * @throws InterruptedException */ @Override public RecordWriter<WritableComparable<?>, HCatRecord> getRecordWriter(TaskAttemptContext context) throws IOException, InterruptedException { return getOutputFormat(context).getRecordWriter(context); }