[prev in list] [next in list] [prev in thread] [next in thread]
List: mesos-user
Subject: =?gb18030?B?u9i4tKO6IEhvdyB0byBmaWx0ZXIgR0VUX1RBU0tT?= =?gb18030?B?IGFwaSByZXN1bHQ=?=
From: "=?gb18030?B?w86/qsq8tcS12Le9?=" <382607308 () qq ! com>
Date: 2017-04-29 16:10:52
Message-ID: tencent_490131857A2B78B3759A68B0 () qq ! com
[Download RAW message or body]
[Attachment #2 (text/plain)]
thanks
------------------ ÔʼÓʼþ ------------------
·¢¼þÈË: "James Peach";<jorgar@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 <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
> >
>
>
[Attachment #3 (text/html)]
<div>thanks</div><div><div><br></div><div><br></div><div style="font-size: \
12px;font-family: Arial Narrow;padding:2px 0 2px \
0;">------------------ ÔʼÓʼþ ------------------</div><div \
style="font-size: 12px;background:#efefef;padding:8px;"><div><b>·¢¼þÈË:</b> "James \
Peach";<jorgar@gmail.com>;</div><div><b>·¢ËÍʱ¼ä:</b> 2017Äê4Ô \
20ÈÕ(ÐÇÆÚËÄ) ÉÏÎç8:13</div><div><b>ÊÕ¼þÈË:</b> "user"<user@mesos.apache.org>; \
<wbr></div><div></div><div><b>Ö÷Ìâ:</b> Re: How to filter GET_TASKS api \
result</div></div><div><br></div><br>> On Apr 19, 2017, at 5:00 PM, Benjamin \
Mahler <bmahler@apache.org> wrote:<br>> <br>> 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.<br>> <br>> message Call \
{<br>> enum Type {<br>> GET_TASKS = \
13; // Retrieves the information \
about tasks, see `GetTasks` below.<br>> }<br>> <br>> \
message GetTasks {<br>> // Which tasks to retrieve, leave \
empty to retrieve all tasks.<br>> repeated TaskID \
task_ids;<br>> }<br>> }<br><br>See also \
https://issues.apache.org/jira/browse/MESOS-6935. It makes sense to be able to ask \
for specific FrameworkIDs too.<br><br>> <br>> On Thu, Apr 6, 2017 at 8:31 PM, \
ÃοªÊ¼µÄµØ·½ <382607308@qq.com> wrote:<br>> <br>> but spark and chronos \
has too many short tasks£¬get all task is too slow.<br>> <br>> \
------------------ ÔʼÓʼþ ------------------<br>> ·¢¼þÈË: "Alexander \
Rojas";<alexander@mesosphere.io>;<br>> ·¢ËÍʱ¼ä: 2017Äê4Ô 3ÈÕ(ÐÇÆÚÒ») \
ÍíÉÏ9:47<br>> ÊÕ¼þÈË: "user"<user@mesos.apache.org>;<br>> Ö÷Ìâ: Re: How \
to filter GET_TASKS api result<br>> <br>> Hi,<br>> <br>> 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.<br>> <br>> \
Alexander Rojas<br>> alexander@mesosphere.io<br>> <br>> <br>> <br>> \
<br>>> On 20 Mar 2017, at 10:35, ÃοªÊ¼µÄµØ·½ <382607308@qq.com> \
wrote:<br>>> <br>>> Hi,I'd like to use the GET_TASKS api get specific \
task £¬but the api return all tasks.<br>>> please help me£¬thanks<br>>> \
<br>> <br>> <br></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic