@InterfaceAudience.Public public class RowCounter extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
(package private) static class |
RowCounter.RowCounterMapper
Mapper that runs the count.
|
Constructor and Description |
---|
RowCounter() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.JobConf |
createSubmittableJob(String[] args) |
static void |
main(String[] args) |
(package private) static int |
printUsage() |
int |
run(String[] args) |
static final String NAME
public RowCounter()
public org.apache.hadoop.mapred.JobConf createSubmittableJob(String[] args) throws IOException
args
- IOException
static int printUsage()
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.