Class TestTableOutputFormat
java.lang.Object
org.apache.hadoop.hbase.mapreduce.TestTableOutputFormat
Simple Tests to check whether the durability of the Mutation is changed or not, for
TableOutputFormat
if TableOutputFormat.WAL_PROPERTY
is set to false.-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.mapreduce.TaskAttemptContext
private static final org.apache.hadoop.hbase.TableName
private static org.apache.hadoop.hbase.mapreduce.TableOutputFormat<javax.validation.constraints.Null>
private static final HBaseTestingUtil
private static org.apache.hadoop.mapreduce.RecordWriter<javax.validation.constraints.Null,
org.apache.hadoop.hbase.client.Mutation> -
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
util
-
TABLE_NAME
-
columnFamily
-
conf
-
writer
private static org.apache.hadoop.mapreduce.RecordWriter<javax.validation.constraints.Null,org.apache.hadoop.hbase.client.Mutation> writer -
context
-
tableOutputFormat
private static org.apache.hadoop.hbase.mapreduce.TableOutputFormat<javax.validation.constraints.Null> tableOutputFormat
-
-
Constructor Details
-
TestTableOutputFormat
public TestTableOutputFormat()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
close
- Throws:
IOException
InterruptedException
-
testTableOutputFormatWhenWalIsOFFForPut
- Throws:
IOException
InterruptedException
-
testTableOutputFormatWhenWalIsOFFForDelete
- Throws:
IOException
InterruptedException
-