> On 2012-01-18 04:50:17, Brian Wickman wrote: > > include/mesos/scheduler.hpp, line 175 > > <https://reviews.apache.org/r/3442/diff/1/?file=67448#file67448line175> > > > > does this return? > > > > for example, if in launchTask(task) you get a malformed task, you'd > > think: > > > > { > > driver.sendStatusUpdate(...FAILED TASK...) > > driver.stop() > > <do I need to handle any cleanup conditions here?> > > } > >
This function does indeed return. Any other calls on the driver will return a Status of DRIVER_STOPPED. - Benjamin ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/3442/#review4434 ----------------------------------------------------------- On 2012-01-25 01:55:49, Benjamin Hindman wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/3442/ > ----------------------------------------------------------- > > (Updated 2012-01-25 01:55:49) > > > Review request for mesos, Andy Konwinski, Charles Reiss, Matei Zaharia, John > Sirois, and Vinod Kone. > > > Summary > ------- > > Provides initial documentation to the public interfaces (thanks to Vinod Kone > for pairing with me on this). > > > This addresses bug MESOS-45. > https://issues.apache.org/jira/browse/MESOS-45 > > > Diffs > ----- > > include/mesos/executor.hpp 68f5bda > include/mesos/mesos.proto 3c3f632 > include/mesos/scheduler.hpp 93dda98 > src/java/src/org/apache/mesos/Executor.java ea2b1a2 > src/java/src/org/apache/mesos/ExecutorDriver.java 66c2563 > src/java/src/org/apache/mesos/MesosExecutorDriver.java 2887f7b > src/java/src/org/apache/mesos/MesosSchedulerDriver.java 90a193b > src/java/src/org/apache/mesos/Scheduler.java c429a95 > src/java/src/org/apache/mesos/SchedulerDriver.java d31c9d1 > src/python/src/mesos.py d2088da > > Diff: https://reviews.apache.org/r/3442/diff > > > Testing > ------- > > > Thanks, > > Benjamin > >
