Skip to content

Instantly share code, notes, and snippets.

@SwathiMystery
Created January 3, 2015 10:20
Show Gist options
  • Save SwathiMystery/883ebac7fc8261f297ce to your computer and use it in GitHub Desktop.
Save SwathiMystery/883ebac7fc8261f297ce to your computer and use it in GitHub Desktop.
Mesos Scheduler Driver
MesosSchedulerDriver schedulerDriver = new MesosSchedulerDriver(scheduler, frameworkBuilder.build(), args[0]);
int status = schedulerDriver.run() == Protos.Status.DRIVER_STOPPED ? 0 : 1;
schedulerDriver.stop();
System.exit(status);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment