Package com.mapr.ycsb

Class App

java.lang.Object
org.apache.hadoop.conf.Configured
com.mapr.ycsb.App
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
Direct Known Subclasses:
DBSummary, DocumentSizeCalculator, Driver, Launcher

public abstract class App extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
  • Field Details

    • config

      protected Config config
  • Constructor Details

    • App

      public App()
  • Method Details

    • run

      public int run(String[] args) throws Exception
      Specified by:
      run in interface org.apache.hadoop.util.Tool
      Throws:
      Exception
    • getConfigFile

      protected File getConfigFile()
    • getConfig

      protected Config getConfig()
    • run0

      protected abstract int run0() throws Exception
      Throws:
      Exception
    • getLogger

      protected abstract org.slf4j.Logger getLogger()
    • usage

      protected void usage()
    • getSessionName

      public String getSessionName()