gov.llnl.ontology.mapreduce.stats
Class ExtractKeysMR
java.lang.Object
org.apache.hadoop.conf.Configured
gov.llnl.ontology.mapreduce.CorpusTableMR
gov.llnl.ontology.mapreduce.stats.ExtractKeysMR
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class ExtractKeysMR
- extends CorpusTableMR
- Author:
- Keith Stevens
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf, setConf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
ExtractKeysMR
public ExtractKeysMR()
main
public static void main(String[] args)
throws Exception
- Runs the
ExtractKeysMR
.
- Throws:
Exception
mapperClass
protected Class mapperClass()
- Returns the
Class
object for the Mapper task.
- Specified by:
mapperClass
in class CorpusTableMR
mapperKeyClass
protected Class mapperKeyClass()
- Returns the
Class
object for the Mapper Value of this task.
- Overrides:
mapperKeyClass
in class CorpusTableMR
mapperValueClass
protected Class mapperValueClass()
- Returns the
Class
object for the Mapper Value of this task.
- Overrides:
mapperValueClass
in class CorpusTableMR
setupReducer
protected void setupReducer(String tableName,
org.apache.hadoop.mapreduce.Job job,
MRArgOptions options)
- Sets up the Reducer for this job.
- Overrides:
setupReducer
in class CorpusTableMR
Copyright © 2010-2011. All Rights Reserved.