[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;">------------------&nbsp;ԭʼÓʼþ&nbsp;------------------</div><div \
style="font-size: 12px;background:#efefef;padding:8px;"><div><b>·¢¼þÈË:</b>&nbsp;"James \
Peach";&lt;jorgar@gmail.com&gt;;</div><div><b>·¢ËÍʱ¼ä:</b>&nbsp;2017Äê4Ô \
20ÈÕ(ÐÇÆÚËÄ) ÉÏÎç8:13</div><div><b>ÊÕ¼þÈË:</b>&nbsp;"user"&lt;user@mesos.apache.org&gt;; \
<wbr></div><div></div><div><b>Ö÷Ìâ:</b>&nbsp;Re: How to filter GET_TASKS api \
result</div></div><div><br></div><br>&gt; On Apr 19, 2017, at 5:00 PM, Benjamin \
Mahler &lt;bmahler@apache.org&gt; wrote:<br>&gt; <br>&gt; 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>&gt; <br>&gt; message Call \
{<br>&gt;&nbsp;&nbsp; enum Type {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; GET_TASKS = \
13;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Retrieves the information \
about tasks, see `GetTasks` below.<br>&gt;&nbsp;&nbsp; }<br>&gt; <br>&gt;&nbsp;&nbsp; \
message GetTasks {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; // Which tasks to retrieve, leave \
empty to retrieve all tasks.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; repeated TaskID \
task_ids;<br>&gt;&nbsp;&nbsp; }<br>&gt; }<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>&gt; <br>&gt; On Thu, Apr 6, 2017 at 8:31 PM, \
ÃοªÊ¼µÄµØ·½ &lt;382607308@qq.com&gt; wrote:<br>&gt; <br>&gt; but spark and chronos \
has too many short tasks£¬get all task is too slow.<br>&gt; <br>&gt; \
------------------ ԭʼÓʼþ ------------------<br>&gt; ·¢¼þÈË: "Alexander \
Rojas";&lt;alexander@mesosphere.io&gt;;<br>&gt; ·¢ËÍʱ¼ä: 2017Äê4Ô 3ÈÕ(ÐÇÆÚÒ») \
ÍíÉÏ9:47<br>&gt; ÊÕ¼þÈË: "user"&lt;user@mesos.apache.org&gt;;<br>&gt; Ö÷Ìâ: Re: How \
to filter GET_TASKS api result<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; 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>&gt; <br>&gt; \
Alexander Rojas<br>&gt; alexander@mesosphere.io<br>&gt; <br>&gt; <br>&gt; <br>&gt; \
<br>&gt;&gt; On 20 Mar 2017, at 10:35, ÃοªÊ¼µÄµØ·½ &lt;382607308@qq.com&gt; \
wrote:<br>&gt;&gt; <br>&gt;&gt; Hi,I'd like to use the GET_TASKS api get specific \
task £¬but the api return all tasks.<br>&gt;&gt; please help me£¬thanks<br>&gt;&gt; \
<br>&gt; <br>&gt; <br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic