Closed ghost closed 7 years ago
What do you expect the above code to do? A custom executor that receives a kill event should kill the task identified by the event. It looks to me like your code above is attempting to reflect the kill event back to mesos, which is incorrect. At first glance, I'm not even sure how the above code compiles.
See the Mesos docs for more details regarding the v1 executor API: https://github.com/apache/mesos/blob/1da4e45b8077b9046bba1a7ed15be5e344a14a91/docs/executor-http-api.md#kill
please re-open (and provide additional details, logs, etc) if this is still a problem for you.
I tried to implement the code of killtask, but I got the malformed request infomation with err; code:
Please give me some advice, thanks for your reply;