public class RetryRepMapper extends RepMapper
DATE, REP_ATTEMPTS, REP_RESULT, SRC_SIZE
ERR_MESSAGE, FAILURE, INPUT_PATH, jobConf, MAX_THREAD_WAIT, pathUtil, RESULT, RESULT_PATH, resultInfo, SUCCESS
Constructor and Description |
---|
RetryRepMapper() |
Modifier and Type | Method and Description |
---|---|
protected String |
collectResult()
Collects the result of the mapping process.
|
void |
map(org.apache.hadoop.io.Writable key,
org.apache.hadoop.io.Text value,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> output,
org.apache.hadoop.mapred.Reporter reporter)
Performs the actual file processing.
|
processFile
collect, configure, copyFileLocal, getContentStore, getStoreManager, map, moveToOutput, processFile, setStoreManager, waitOnThread
public void map(org.apache.hadoop.io.Writable key, org.apache.hadoop.io.Text value, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> output, org.apache.hadoop.mapred.Reporter reporter) throws IOException
ProcessFileMapper
map
in interface org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.Writable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
map
in class ProcessFileMapper
IOException
protected String collectResult() throws IOException
ProcessFileMapper
collectResult
in class RepMapper
IOException
Copyright © 2009-2013 DuraSpace. All Rights Reserved.