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/72752fc6deb8ebcbfbd5448dc599ef
> 3774339d31/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

Reply via email to