public void start() throws IOException {
  logger.info(String.format("Starting Storage process"));
  ProcessBuilder startBuilder=process(getStartCommand());
  setStorageEnv(startBuilder.environment());
  Process starter=startBuilder.start();
  try {
    sleeper.sleepQuietly(SCRIPT_EXECUTE_WAIT_TIME_MS);
    int code=starter.exitValue();
    if (code == 0) {
      logger.info("Storage process has been started");
      instanceState.setStorageProxyAlive(true);
    }
 else {
      logger.error("Unable to start Storage process. Error code: {}",code);
    }
    logProcessOutput(starter);
  }
 catch (  Exception e) {
    logger.warn("Starting Storage process has an error",e);
  }
}

public void start ( ) throws IOException { logger . info ( String . format ( "Starting Storage process" ) ) ; ProcessBuilder startBuilder = process ( getStartCommand ( ) ) ; setStorageEnv ( startBuilder . environment ( ) ) ; Process starter = startBuilder . start ( ) ; try { sleeper . sleepQuietly ( SCRIPT_EXECUTE_WAIT_TIME_MS ) ; int code = starter . exitValue ( ) ; if ( code == 0 ) { logger . info ( "Storage process has been started" ) ; instanceState . setStorageProxyAlive ( true ) ; } else { logger . error ( "Unable to start Storage process. Error code: {}" , code ) ; } logProcessOutput ( starter ) ; } catch ( Exception e ) { logger . warn ( "Starting Storage process has an error" , e ) ; } }
start the storage engine ( redis , memcached ) .
