AuditReplayMapper, CreateFileMapperpublic abstract class WorkloadMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
extends org.apache.hadoop.mapreduce.Mapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
VirtualInputFormat as its
InputFormat. Subclasses requiring a reducer or expecting a different
InputFormat should override the configureJob(Job) method.| Constructor | Description |
|---|---|
WorkloadMapper() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
configureJob(org.apache.hadoop.mapreduce.Job job) |
Setup input and output formats and optional reducer.
|
abstract java.util.List<java.lang.String> |
getConfigDescriptions() |
Get a list of the description of each configuration that this mapper
accepts.
|
abstract java.lang.String |
getDescription() |
Get the description of the behavior of this mapper.
|
abstract boolean |
verifyConfigurations(org.apache.hadoop.conf.Configuration conf) |
Verify that the provided configuration contains all configurations required
by this mapper.
|
public abstract java.lang.String getDescription()
public abstract java.util.List<java.lang.String> getConfigDescriptions()
public abstract boolean verifyConfigurations(org.apache.hadoop.conf.Configuration conf)
conf - configuration.public void configureJob(org.apache.hadoop.mapreduce.Job job)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.