gov.llnl.ontology.mapreduce.ingest
Class LabelNounPairsMR

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by gov.llnl.ontology.mapreduce.EvidenceTableMR
          extended by 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

Nested Class Summary
static class LabelNounPairsMR.LabelNounPairsMapper
           
 
Field Summary
static String WORD_NET_DIR
           
 
Fields inherited from class gov.llnl.ontology.mapreduce.EvidenceTableMR
CONF_PREFIX, EVIDENCE
 
Constructor Summary
LabelNounPairsMR()
           
 
Method Summary
protected  void addOptions(MRArgOptions options)
          Add more command line arguments.
static void main(String[] args)
          Runs the LabelNounPairsMR.
protected  Class mapperClass()
          Returns the Class object for the Mapper task.
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.
protected  boolean validOptions(MRArgOptions options)
          Returns true if the MRArgOptions contains a valid value for each requried option.
 
Methods inherited from class gov.llnl.ontology.mapreduce.EvidenceTableMR
mapperKeyClass, mapperValueClass, run, setupReducer
 
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
 

Field Detail

WORD_NET_DIR

public static final String WORD_NET_DIR
Constructor Detail

LabelNounPairsMR

public LabelNounPairsMR()
Method Detail

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.