[prev in list] [next in list] [prev in thread] [next in thread]
List: mesos-user
Subject: Re: How to filter GET_TASKS api result
From: James Peach <jorgar () gmail ! com>
Date: 2017-04-20 0:13:02
Message-ID: 54034A1E-B178-4C75-9DE9-CB6DEB803196 () gmail ! com
[Download RAW message or body]
> On Apr 19, 2017, at 5:00 PM, Benjamin Mahler <bmahler@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, 梦开始的地方 <382607308@qq.com> wrote:
>
> but spark and chronos has too many short tasks,get all task is too slow.
>
> ------------------ 原始邮件 ------------------
> 发件人: "Alexander Rojas";<alexander@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
> alexander@mesosphere.io
>
>
>
>
> > On 20 Mar 2017, at 10:35, 梦开始的地方 <382607308@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
> >
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic