gov.llnl.ontology.mapreduce.ingest
Class LabelNounPairsMR
java.lang.Object
org.apache.hadoop.conf.Configured
gov.llnl.ontology.mapreduce.EvidenceTableMR
gov.llnl.ontology.mapreduce.ingest.LabelNounPairsMR
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class LabelNounPairsMR
- extends EvidenceTableMR
- 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 |
WORD_NET_DIR
public static final String WORD_NET_DIR
LabelNounPairsMR
public LabelNounPairsMR()
main
public static void main(String[] args)
throws Exception
- Runs the
LabelNounPairsMR
.
- Throws:
Exception
addOptions
protected void addOptions(MRArgOptions options)
- Add more command line arguments.
- Overrides:
addOptions
in class EvidenceTableMR
validOptions
protected boolean validOptions(MRArgOptions options)
- Returns true if the
MRArgOptions
contains a valid value for each
requried option.
- Overrides:
validOptions
in class EvidenceTableMR
setupConfiguration
protected void setupConfiguration(MRArgOptions options,
org.apache.hadoop.conf.Configuration conf)
- Copies command line arguments to a
Configuration
so that
Map/Reduce jobs can utilize the values set.
- Overrides:
setupConfiguration
in class EvidenceTableMR
mapperClass
protected Class mapperClass()
- Returns the
Class
object for the Mapper task.
- Specified by:
mapperClass
in class EvidenceTableMR
Copyright © 2010-2011. All Rights Reserved.