com.splout.db.hadoop
Class SimpleGeneratorCMD

java.lang.Object
  extended by com.splout.db.hadoop.SimpleGeneratorCMD
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public class SimpleGeneratorCMD
extends java.lang.Object
implements org.apache.hadoop.util.Tool

This tool can be used for creating and deploying a single-table tablespace from text files. Use command-line parameters for definiting your Tablespace. For a more general multi-tablespace generator use GeneratorCMD.


Nested Class Summary
static class SimpleGeneratorCMD.CharConverter
           
 
Constructor Summary
SimpleGeneratorCMD()
           
 
Method Summary
 org.apache.hadoop.conf.Configuration getConf()
           
static void main(java.lang.String[] args)
           
 int run(java.lang.String[] args)
           
 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
 

Constructor Detail

SimpleGeneratorCMD

public SimpleGeneratorCMD()
Method Detail

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(java.lang.String[] args)
        throws java.lang.Exception
Specified by:
run in interface org.apache.hadoop.util.Tool
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012-2013 Datasalt Systems S.L.. All Rights Reserved.