code: public static void main(final String[] args) throws BindException, InjectionException, IOException {
  
      final Configuration runtimeConfiguration = YarnClientConfiguration.CONF.build();
  
      final LauncherStatus status = HelloREEFHttp.runHelloReef(runtimeConfiguration, HelloREEFHttp.JOB_TIMEOUT);
      LOG.log(Level.INFO, "REEF job completed: {0}", status);
    }
docs: Start Hello REEF job. Runs method runHelloReef().
  
  @param args command line parameters.
  @throws org.apache.reef.tang.exceptions.BindException      configuration error.
  @throws org.apache.reef.tang.exceptions.InjectionException configuration error.