mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Mazumdar <mazumdar.an...@gmail.com>
Subject Re: java driver/shutdown call
Date Fri, 12 Jan 2018 18:59:23 GMT
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.jaggi@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 <vinodkone@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.jaggi@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

Mime
View raw message