static class SampleUploader.Uploader extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,ImmutableBytesWritable,Put>
Modifier and Type | Field and Description |
---|---|
private long |
checkpoint |
private long |
count |
Constructor and Description |
---|
Uploader() |
Modifier and Type | Method and Description |
---|---|
void |
map(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.Text line,
org.apache.hadoop.mapreduce.Mapper.Context context) |
private long checkpoint
private long count
Uploader()
public void map(org.apache.hadoop.io.LongWritable key, org.apache.hadoop.io.Text line, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,ImmutableBytesWritable,Put>
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.