thanks
------------------ ???????? ------------------ ??????: "James Peach";<jor...@gmail.com>; ????????: 2017??4??20??(??????) ????8:13 ??????: "user"<user@mesos.apache.org>; ????: Re: How to filter GET_TASKS api result > On Apr 19, 2017, at 5:00 PM, Benjamin Mahler <bmah...@apache.org> wrote: > > We can add a Call.GetTasks message to allow you to specify which task ids you > would like to retrieve. But this isn't supported yet, the code needs to be > written. E.g. > > message Call { > enum Type { > GET_TASKS = 13; // Retrieves the information about tasks, see > `GetTasks` below. > } > > message GetTasks { > // Which tasks to retrieve, leave empty to retrieve all tasks. > repeated TaskID task_ids; > } > } See also https://issues.apache.org/jira/browse/MESOS-6935. It makes sense to be able to ask for specific FrameworkIDs too. > > On Thu, Apr 6, 2017 at 8:31 PM, ???????????? <382607...@qq.com> wrote: > > but spark and chronos has too many short tasks??get all task is too slow. > > ------------------ ???????? ------------------ > ??????: "Alexander Rojas";<alexan...@mesosphere.io>; > ????????: 2017??4??3??(??????) ????9:47 > ??????: "user"<user@mesos.apache.org>; > ????: Re: How to filter GET_TASKS api result > > Hi, > > Mesos does not have a way to get info about a single task, however the answer > should be pretty easy to filter so you can search for the task you??re > looking for. > > Alexander Rojas > alexan...@mesosphere.io > > > > >> On 20 Mar 2017, at 10:35, ???????????? <382607...@qq.com> wrote: >> >> Hi,I'd like to use the GET_TASKS api get specific task ??but the api return >> all tasks. >> please help me??thanks >> > >