org.apache.hadoop.streaming
Class LoadTypedBytes
java.lang.Object
org.apache.hadoop.streaming.LoadTypedBytes
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class LoadTypedBytes
- extends Object
- implements org.apache.hadoop.util.Tool
Utility program that reads typed bytes from standard input and stores them in
a sequence file for which the path is given as an argument.
Method Summary |
org.apache.hadoop.conf.Configuration |
getConf()
|
static void |
main(String[] args)
|
int |
run(String[] args)
The main driver for LoadTypedBytes . |
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 |
LoadTypedBytes
public LoadTypedBytes(org.apache.hadoop.conf.Configuration conf)
LoadTypedBytes
public LoadTypedBytes()
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
LoadTypedBytes
.
- 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