HFileOutputFormat2
instead.@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class HFileOutputFormat extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<ImmutableBytesWritable,org.apache.hadoop.hbase.KeyValue>
Using this class as part of a MapReduce job is best done
using configureIncrementalLoad(Job, HTable)
.
KeyValueSortReducer
Modifier and Type | Field and Description |
---|---|
static String |
DATABLOCK_ENCODING_OVERRIDE_CONF_KEY
Deprecated.
|
Constructor and Description |
---|
HFileOutputFormat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
configureIncrementalLoad(org.apache.hadoop.mapreduce.Job job,
org.apache.hadoop.hbase.client.HTable table)
Deprecated.
Configure a MapReduce Job to perform an incremental load into the given
table.
|
org.apache.hadoop.mapreduce.RecordWriter<ImmutableBytesWritable,org.apache.hadoop.hbase.KeyValue> |
getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Deprecated.
|
checkOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPath
public static final String DATABLOCK_ENCODING_OVERRIDE_CONF_KEY
public org.apache.hadoop.mapreduce.RecordWriter<ImmutableBytesWritable,org.apache.hadoop.hbase.KeyValue> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
getRecordWriter
in class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<ImmutableBytesWritable,org.apache.hadoop.hbase.KeyValue>
IOException
InterruptedException
public static void configureIncrementalLoad(org.apache.hadoop.mapreduce.Job job, org.apache.hadoop.hbase.client.HTable table) throws IOException
IOException
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.