Search in sources :

Example 1 with VespaConfiguration

use of com.yahoo.vespa.hadoop.mapreduce.util.VespaConfiguration in project vespa by vespa-engine.

the class VespaOutputFormat method getRecordWriter.

@Override
public RecordWriter getRecordWriter(TaskAttemptContext context) throws IOException, InterruptedException {
    VespaCounters counters = VespaCounters.get(context);
    VespaConfiguration configuration = VespaConfiguration.get(context.getConfiguration(), configOverride);
    return new VespaRecordWriter(configuration, counters);
}
Also used : VespaConfiguration(com.yahoo.vespa.hadoop.mapreduce.util.VespaConfiguration) VespaCounters(com.yahoo.vespa.hadoop.mapreduce.util.VespaCounters)

Aggregations

VespaConfiguration (com.yahoo.vespa.hadoop.mapreduce.util.VespaConfiguration)1 VespaCounters (com.yahoo.vespa.hadoop.mapreduce.util.VespaCounters)1