public class HadoopScanMapper extends org.apache.hadoop.mapreduce.Mapper<StaticBuffer,Iterable<Entry>,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
ScanJob
via a Hadoop Mapper over the edgestore.| Modifier and Type | Field and Description |
|---|---|
protected ScanJob |
job |
protected Configuration |
jobConf |
protected HadoopContextScanMetrics |
metrics |
| Constructor and Description |
|---|
HadoopScanMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
finishSetup(ModifiableHadoopConfiguration scanConf,
Configuration graphConf) |
protected void |
map(StaticBuffer key,
Iterable<Entry> values,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected ScanJob job
protected HadoopContextScanMetrics metrics
protected Configuration jobConf
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Mapper<StaticBuffer,Iterable<Entry>,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionprotected void finishSetup(ModifiableHadoopConfiguration scanConf, Configuration graphConf)
protected void map(StaticBuffer key, Iterable<Entry> values, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<StaticBuffer,Iterable<Entry>,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionprotected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
cleanup in class org.apache.hadoop.mapreduce.Mapper<StaticBuffer,Iterable<Entry>,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionCopyright © 2012–2024. All rights reserved.