public class RetryRepMapper extends RepMapper
DATE, REP_ATTEMPTS, REP_RESULT, SRC_SIZEERR_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.
|
processFilecollect, configure, copyFileLocal, getContentStore, getStoreManager, map, moveToOutput, processFile, setStoreManager, waitOnThreadpublic 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
ProcessFileMappermap 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 ProcessFileMapperIOExceptionprotected String collectResult() throws IOException
ProcessFileMappercollectResult in class RepMapperIOExceptionCopyright © 2009-2013 DuraSpace. All Rights Reserved.