Created
January 3, 2015 10:20
-
-
Save SwathiMystery/883ebac7fc8261f297ce to your computer and use it in GitHub Desktop.
Mesos Scheduler Driver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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