@InterfaceAudience.Public @InterfaceStability.Stable public class RowCounter extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
RowCounter.RowCounterMapper
Mapper that runs the count.
|
Modifier and Type | Field and Description |
---|---|
(package private) static String |
NAME
Name of this 'program'.
|
Constructor and Description |
---|
RowCounter() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.mapreduce.Job |
createSubmittableJob(org.apache.hadoop.conf.Configuration conf,
String[] args)
Sets up the actual job.
|
static void |
main(String[] args)
Main entry point.
|
private static void |
printUsage() |
private static void |
printUsage(String errorMessage) |
static final String NAME
public static org.apache.hadoop.mapreduce.Job createSubmittableJob(org.apache.hadoop.conf.Configuration conf, String[] args) throws IOException
conf
- The current configuration.args
- The command line parameters.IOException
- When setting up the job fails.private static void printUsage(String errorMessage)
private static void printUsage()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.