com.splout.db.hadoop
Class GeneratorCMD
java.lang.Object
  
com.splout.db.hadoop.GeneratorCMD
- All Implemented Interfaces: 
 - org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
 
public class GeneratorCMD
- extends java.lang.Object
- implements org.apache.hadoop.util.Tool
  
A general purpose tool for building and deploying any combination of Tablespaces to Splout. It will read JSON
 configuration files for each tablespace to deploy. Those files must map to the bean JSONTablespaceDefinition.
 
| 
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 | 
 
GeneratorCMD
public GeneratorCMD()
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
 
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
 
 
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.