Yes; It's a newer interface that still allows you to switch between the v1 (new) and the old API.
-anand On Fri, Jan 12, 2018 at 3:28 PM, Mohit Jaggi <mohit.ja...@uber.com> wrote: > Are you suggesting > > *send(new Call(METHOD, Param1, ...)) * > > instead of > > *driver.method(Param1, ....)* > > *?* > > On Fri, Jan 12, 2018 at 10:59 AM, Anand Mazumdar <mazumdar.an...@gmail.com > > wrote: > >> Mohit, >> >> You can use the V1Mesos class that uses the v1 API internally allowing >> you to send the 'SHUTDOWN' call. We also have a V0Mesos class that uses the >> old scheduler driver internally. >> >> -anand >> >> On Wed, Jan 10, 2018 at 2:53 PM, Mohit Jaggi <mohit.ja...@uber.com> >> wrote: >> >>> Thanks Vinod. Is there a V1SchedulerDriver.java file? I see >>> https://github.com/apache/mesos/tree/72752fc6deb8ebcbfbd >>> 5448dc599ef3774339d31/src/java/src/org/apache/mesos/v1/scheduler but it >>> does not have a V1 driver. >>> >>> On Fri, Jan 5, 2018 at 3:59 PM, Vinod Kone <vinodk...@apache.org> wrote: >>> >>>> That's right. It is only available for v1 schedulers. >>>> >>>> On Fri, Jan 5, 2018 at 3:38 PM, Mohit Jaggi <mohit.ja...@uber.com> >>>> wrote: >>>> >>>>> Folks, >>>>> I am trying to change Apache Aurora's code to call SHUTDOWN instead of >>>>> KILL. However, it seems that the SchedulerDriver class in Mesos does not >>>>> have a shutdownExecutor() call. >>>>> >>>>> https://github.com/apache/mesos/blob/72752fc6deb8ebcbfbd5448 >>>>> dc599ef3774339d31/src/java/src/org/apache/mesos/SchedulerDriver.java >>>>> >>>>> Mohit. >>>>> >>>> >>>> >>> >> >> >> -- >> Anand Mazumdar >> > > -- Anand Mazumdar