org.apache.accumulo.examples.simple.filedata
public static class CharacterHistogram.HistMapper extends org.apache.hadoop.mapreduce.Mapper<List<Map.Entry<Key,Value>>,InputStream,org.apache.hadoop.io.Text,Mutation>
Constructor and Description |
---|
CharacterHistogram.HistMapper() |
public void map(List<Map.Entry<Key,Value>> k, InputStream v, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<List<Map.Entry<Key,Value>>,InputStream,org.apache.hadoop.io.Text,Mutation>
IOException
InterruptedException
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<List<Map.Entry<Key,Value>>,InputStream,org.apache.hadoop.io.Text,Mutation>
IOException
InterruptedException
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.