src/main/java/org/apache/mesos/hdfs/executor/NameNodeExecutor.java
/**
   * Main method for executor, which injects the configuration and state and starts the driver.
   */
Main method for executor, which injects the configuration and state and starts the driver.
Main method for executor which injects the configuration and state and starts the driver .
public static void main(String[] args) {
    Injector injector = Guice.createInjector();
    MesosExecutorDriver driver = new MesosExecutorDriver(
        injector.getInstance(NameNodeExecutor.class));
    System.exit(driver.run() == Status.DRIVER_STOPPED ? 0 : 1);
  }
public static void main ( String [ ] args ) { Injector injector = Guice . createInjector ( ) ; MesosExecutorDriver driver = new MesosExecutorDriver ( injector . getInstance ( NameNodeExecutor . class ) ) ; System . exit ( driver . run ( ) == Status . DRIVER_STOPPED ? 0 : 1 ) ; }
Main method for executor, which injects the configuration and state and starts the driver.
Main method for executor which injects the configuration and state and starts the driver .