public class OrderedWordCount
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderedWordCount.NoOpSorter
No-op sorter processor.
|
static class |
OrderedWordCount.SumProcessor |
| Constructor and Description |
|---|
OrderedWordCount() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.tez.dag.api.DAG |
createDAG(org.apache.tez.dag.api.TezConfiguration tezConf,
String inputPath,
String outputPath,
int numPartitions,
String dagName) |
static void |
main(String[] args) |
int |
run(String[] args) |
boolean |
run(String inputPath,
String outputPath,
org.apache.hadoop.conf.Configuration conf,
int numPartitions) |
public static org.apache.tez.dag.api.DAG createDAG(org.apache.tez.dag.api.TezConfiguration tezConf,
String inputPath,
String outputPath,
int numPartitions,
String dagName)
throws IOException
IOExceptionpublic boolean run(String inputPath, String outputPath, org.apache.hadoop.conf.Configuration conf, int numPartitions) throws Exception
Exceptionpublic int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2014 Apache Software Foundation. All rights reserved.