@InterfaceAudience.Public public class RowCounter extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
| 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. 
 | 
int | 
run(String[] args)  | 
public RowCounter()
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.public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.