@InterfaceAudience.Public @InterfaceStability.Stable public class WALPlayer extends Configured
Modifier and Type | Class and Description |
---|---|
protected static class |
WALPlayer.WALMapper
A mapper that writes out
Mutation to be directly applied to
a running HBase instance. |
Constructor and Description |
---|
WALPlayer(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
Job |
createSubmittableJob(String[] args)
Sets up the actual job.
|
static void |
main(String[] args)
Main entry point.
|
int |
run(String[] args) |
public WALPlayer(Configuration conf)
conf
- The Configuration
to use.public Job createSubmittableJob(String[] args) throws IOException
args
- The command line parameters.IOException
- When setting up the job fails.public static void main(String[] args) throws Exception
args
- The command line parameters.Exception
- When running the job fails.