public static class IntegrationTestLoadAndVerify.LoadMapper
extends <any>
Modifier and Type | Field and Description |
---|---|
protected Configuration |
conf |
protected Connection |
connection |
protected BufferedMutator |
mutator |
protected int |
numBackReferencesPerRow |
protected Random |
rand |
protected long |
recordsToWrite |
protected Counter |
refsWritten |
protected Counter |
rowsWritten |
protected String |
shortTaskId |
Constructor and Description |
---|
LoadMapper() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(Context context) |
protected void |
map(NullWritable key,
NullWritable value,
Context context) |
void |
setup(Context context) |
protected long recordsToWrite
protected Connection connection
protected BufferedMutator mutator
protected Configuration conf
protected int numBackReferencesPerRow
protected String shortTaskId
protected Random rand
protected Counter rowsWritten
protected Counter refsWritten
public void setup(Context context) throws IOException
IOException
public void cleanup(Context context) throws IOException
IOException
protected void map(NullWritable key, NullWritable value, Context context) throws IOException, InterruptedException
IOException
InterruptedException