org.apache.hadoop.streaming
Class DumpTypedBytes
java.lang.Object
org.apache.hadoop.streaming.DumpTypedBytes
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class DumpTypedBytes
- extends Object
- implements org.apache.hadoop.util.Tool
Utility program that fetches all files that match a given pattern and dumps
their content to stdout as typed bytes. This works for all files that can be
handled by AutoInputFormat
.
Method Summary |
org.apache.hadoop.conf.Configuration |
getConf()
|
static void |
main(String[] args)
|
int |
run(String[] args)
The main driver for DumpTypedBytes . |
void |
setConf(org.apache.hadoop.conf.Configuration conf)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DumpTypedBytes
public DumpTypedBytes(org.apache.hadoop.conf.Configuration conf)
DumpTypedBytes
public DumpTypedBytes()
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConf
in interface org.apache.hadoop.conf.Configurable
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConf
in interface org.apache.hadoop.conf.Configurable
run
public int run(String[] args)
throws Exception
- The main driver for
DumpTypedBytes
.
- Specified by:
run
in interface org.apache.hadoop.util.Tool
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2009 The Apache Software Foundation