You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by He XianYing <xi...@gmail.com> on 2014/03/13 03:36:30 UTC

About taks status about the long lived framework from the examples?

Dear,

I have modified this example a little then run it on  a mesos cluster, this
is the output,
-----------------------------------------------------------------------------------------------------------------------------

I0313 09:58:45.253537 30993 long_lived_framework.cpp:90] --The offers's
size is:1 ; 201403121653-2080483520-5050-15252-372
I0313 09:58:45.253552 30993 long_lived_framework.cpp:107] cpus: 16, mem:
31058
I0313 09:58:45.253574 30993 long_lived_framework.cpp:114] Starting task 95
on ibmc02
I0313 09:58:45.253641 30993 long_lived_framework.cpp:161] Launched task .
I0313 09:58:45.257099 30997 long_lived_framework.cpp:172] Task: 94 is in
state TASK_LOST
I0313 09:58:45.259341 30996 long_lived_framework.cpp:172] Task: 94 is in
state TASK_RUNNING
I0313 09:58:45.261168 30992 long_lived_framework.cpp:172] Task: 95 is in
state TASK_RUNNING
I0313 09:58:45.262517 30987 long_lived_framework.cpp:172] Task: 95 is in
state TASK_FINISHED
I0313 09:58:45.268265 30984 long_lived_framework.cpp:172] Task: 94 is in
state TASK_FINISHED
I0313 09:58:45.559682 30985 long_lived_framework.cpp:84] ......

On above, you will see task 94 status changed
TASK_LOST-->TASK_RUNNING-->TASK_FINISHED.
So I confused why this happend?!

Best,
Ying.

Re: About taks status about the long lived framework from the examples?

Posted by Vinod Kone <vi...@twitter.com>.
That is interesting. Can you tell us a bit more about your setup? Are any
of the masters/slaves being restarted during the run?


@vinodkone


On Wed, Mar 12, 2014 at 7:36 PM, He XianYing <xi...@gmail.com> wrote:

> Dear,
>
> I have modified this example a little then run it on  a mesos cluster,
> this is the output,
> -----------------------------------------------------------------------------------------------------------------------------
>
> I0313 09:58:45.253537 30993 long_lived_framework.cpp:90] --The offers's
> size is:1 ; 201403121653-2080483520-5050-15252-372
> I0313 09:58:45.253552 30993 long_lived_framework.cpp:107] cpus: 16, mem:
> 31058
> I0313 09:58:45.253574 30993 long_lived_framework.cpp:114] Starting task 95
> on ibmc02
> I0313 09:58:45.253641 30993 long_lived_framework.cpp:161] Launched task .
> I0313 09:58:45.257099 30997 long_lived_framework.cpp:172] Task: 94 is in
> state TASK_LOST
> I0313 09:58:45.259341 30996 long_lived_framework.cpp:172] Task: 94 is in
> state TASK_RUNNING
> I0313 09:58:45.261168 30992 long_lived_framework.cpp:172] Task: 95 is in
> state TASK_RUNNING
> I0313 09:58:45.262517 30987 long_lived_framework.cpp:172] Task: 95 is in
> state TASK_FINISHED
> I0313 09:58:45.268265 30984 long_lived_framework.cpp:172] Task: 94 is in
> state TASK_FINISHED
> I0313 09:58:45.559682 30985 long_lived_framework.cpp:84] ......
>
> On above, you will see task 94 status changed
> TASK_LOST-->TASK_RUNNING-->TASK_FINISHED.
> So I confused why this happend?!
>
>  Best,
> Ying.
>