Happy new year folks! Help with the following will be much appreciated. ---------- Forwarded message ---------- From: Mohit Jaggi <mohit.ja...@uber.com> Date: Sat, Dec 23, 2017 at 9:08 PM Subject: executor id from task id? To: u...@aurora.apache.org
Folks, I am trying to work on this: https://issues.apache.org/jira/browse/AURORA-1960 In VersionedSchedulerDriver <https://github.com/apache/aurora/blob/47c689956f77ed635d26f7ec659689002bd047af/src/main/java/org/apache/aurora/scheduler/mesos/VersionedSchedulerDriverService.java#L180-L185> killTask() gets a taskId but the SHUTDOWN <https://mesos.apache.org/documentation/latest/scheduler-http-api/#shutdown> call requires an executor id. How do I get that? I see it is created here <https://github.com/apache/aurora/blob/47c689956f77ed635d26f7ec659689002bd047af/src/main/java/org/apache/aurora/scheduler/mesos/MesosTaskFactory.java#L111> but I am not sure how to find it in the killTask() call. Mohit.