|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.conf.Configured
gov.llnl.ontology.mapreduce.EvidenceTableMR
public abstract class EvidenceTableMR
Field Summary | |
---|---|
static String |
CONF_PREFIX
The configuration key prefix. |
static String |
EVIDENCE
The configuration key for setting the EvidenceTable . |
Constructor Summary | |
---|---|
EvidenceTableMR()
|
Method Summary | |
---|---|
protected void |
addOptions(MRArgOptions options)
Add more command line arguments. |
protected abstract Class |
mapperClass()
Returns the Class object for the Mapper task. |
protected Class |
mapperKeyClass()
Returns the Class object for the Mapper Key of this task. |
protected Class |
mapperValueClass()
Returns the Class object for the Mapper Value of this task. |
int |
run(String[] args)
|
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 void |
setupReducer(String tableName,
org.apache.hadoop.mapreduce.Job job,
MRArgOptions options)
Sets up the Reducer for this job. |
protected boolean |
validOptions(MRArgOptions options)
Returns true if the MRArgOptions contains a valid value for each
requried option. |
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 |
---|
public static String CONF_PREFIX
public static String EVIDENCE
EvidenceTable
.
Constructor Detail |
---|
public EvidenceTableMR()
Method Detail |
---|
protected void addOptions(MRArgOptions options)
protected boolean validOptions(MRArgOptions options)
MRArgOptions
contains a valid value for each
requried option.
protected void setupConfiguration(MRArgOptions options, org.apache.hadoop.conf.Configuration conf)
Configuration
so that
Map/Reduce jobs can utilize the values set.
protected void setupReducer(String tableName, org.apache.hadoop.mapreduce.Job job, MRArgOptions options) throws IOException
IdentityTableReducer
.
IOException
protected abstract Class mapperClass()
Class
object for the Mapper task.
protected Class mapperKeyClass()
Class
object for the Mapper Key of this task.
protected Class mapperValueClass()
Class
object for the Mapper Value of this task.
public int run(String[] args) throws IOException, InterruptedException, ClassNotFoundException
run
in interface org.apache.hadoop.util.Tool
IOException
InterruptedException
ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |