code: public static void main(final String[] args) {
      final Configuration vortexMasterConf = VortexMasterConf.CONF
          .set(VortexMasterConf.WORKER_NUM, 2)
          .set(VortexMasterConf.WORKER_MEM, 1024)
          .set(VortexMasterConf.WORKER_CORES, 4)
          .set(VortexMasterConf.WORKER_CAPACITY, 2000)
          .set(VortexMasterConf.VORTEX_START, SumOnesAggregateStart.class)
          .build();
  
      final Configuration userConf = Tang.Factory.getTang().newConfigurationBuilder()
          .bindNamedParameter(NumberOfOnes.class, "1000")
          .build();
  
      final VortexJobConf vortexJobConf = VortexJobConf.newBuilder()
          .setJobName("Vortex_Example_SumOnes")
          .setVortexMasterConf(vortexMasterConf)
          .setUserConf(userConf)
          .build();
  
      VortexLauncher.launchLocal(vortexJobConf);
    }
docs: Launch the vortex job, passing appropriate arguments.