edu.yale.cs.hadoopdb.benchmark
Class GrepTaskHDFS
java.lang.Object
org.apache.hadoop.conf.Configured
edu.yale.cs.hadoopdb.exec.HDFSJobBase
edu.yale.cs.hadoopdb.benchmark.GrepTaskHDFS
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class GrepTaskHDFS
- extends HDFSJobBase
Adapted from Andy Pavlo's code
http://database.cs.brown.edu/projects/mapreduce-vs-dbms/
Method Summary |
protected org.apache.hadoop.mapred.JobConf |
configureJob(java.lang.String... args)
Override this method to set job-specific options |
static void |
main(java.lang.String[] args)
|
protected int |
printUsage()
Provide job-specific command-line help |
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 |
GREP_PATTERN_PARAM
public static final java.lang.String GREP_PATTERN_PARAM
- See Also:
- Constant Field Values
KEY_LENGTH
public static final int KEY_LENGTH
- See Also:
- Constant Field Values
VALUE_LENGTH
public static final int VALUE_LENGTH
- See Also:
- Constant Field Values
GrepTaskHDFS
public GrepTaskHDFS()
configureJob
protected org.apache.hadoop.mapred.JobConf configureJob(java.lang.String... args)
throws java.io.IOException
- Description copied from class:
HDFSJobBase
- Override this method to set job-specific options
- Specified by:
configureJob
in class HDFSJobBase
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
printUsage
protected int printUsage()
- Description copied from class:
HDFSJobBase
- Provide job-specific command-line help
- Specified by:
printUsage
in class HDFSJobBase