Thanks Renan. I saw that code. "Driver" interface does not have SHUTDOWN...so it is not "compatible". I was trying to change to VersionedSchedulerDriverService all over the code (that wreaks havoc across the tests!) but Mesos's Java wrapper <Thanks Vinod. Is there a V1SchedulerDriver.java file? I see https://github.com/apache/mesos/tree/72752fc6deb8ebcbfbd5448dc599ef3774339d31/src/java/src/org/apache/mesos/v1/scheduler> doesn't seem to have that call either. Perhaps, that is why David referred to the HTTP API.
On Thu, Jan 11, 2018 at 1:14 PM, Renan DelValle <[email protected]> wrote: > https://github.com/apache/aurora/blob/aae2b0dc73b7534c66982ed07b1f02 > 9150e245de/src/main/java/org/apache/aurora/scheduler/mesos/ > SchedulerDriverModule.java > > https://github.com/apache/aurora/blob/aae2b0dc73b7534c66982ed07b1f02 > 9150e245de/src/main/java/org/apache/aurora/scheduler/mesos/ > VersionedSchedulerDriverService.java#L50 > > On Tue, Jan 9, 2018 at 1:21 PM, Mohit Jaggi <[email protected]> wrote: > >> David, >> Where can I find this code? >> >> Mohit. >> >> On Sat, Dec 9, 2017 at 4:27 PM, David McLaughlin <[email protected]> >> wrote: >> >>> The new API is present in Aurora in a compatibility layer, but the HTTP >>> performance issues still exist so we can't make it the default. >>> >>> On Sat, Dec 9, 2017 at 4:24 PM, Bill Farner <[email protected]> wrote: >>> >>>> Aurora pre-dates SHUTDOWN by several years, so the option was not >>>> present. Additionally, the SHUTDOWN call is not available in the API used >>>> by Aurora. Last i knew, Aurora could not use the "new" API because of >>>> performance issues in the implementation, but i do not know where that >>>> stands today. >>>> >>>> https://mesos.apache.org/documentation/latest/scheduler-http >>>> -api/#shutdown >>>> >>>>> NOTE: This is a new call that was not present in the old API >>>> >>>> >>>> On Sat, Dec 9, 2017 at 4:11 PM, Mohit Jaggi <[email protected]> >>>> wrote: >>>> >>>>> Folks, >>>>> Our Mesos team is wondering why Aurora chose KILL over SHUTDOWN for >>>>> killing tasks. As Aurora has an executor per task, won't SHUTDOWN work >>>>> better? It will avoid zombie executors. >>>>> >>>>> Mohit. >>>>> >>>> >>>> >>> >> >
