?????? How to filter GET_TASKS api result
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 >> > >
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 >> > >
Re: How to filter GET_TASKS api result
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; } } 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 > > >
?????? How to filter GET_TASKS api result
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
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 >