Kapil Arya created MESOS-4432:
---------------------------------

             Summary: Condense (redundant) log messages related to task 
launch/status/finish
                 Key: MESOS-4432
                 URL: https://issues.apache.org/jira/browse/MESOS-4432
             Project: Mesos
          Issue Type: Bug
            Reporter: Kapil Arya


As can be seen from the following snippet, there were about "25" different log 
entries for a task from launch to finish. This seems a bit too much.

{code}
$ grep " 7062 " /run/log/mesos/mesos-master.INFO 

    I0113 23:42:39.464856 15109 master.hpp:176] Adding task 7062 with resources 
cpus(*):0.008 on slave 87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 (10.0.1.112)

    I0113 23:42:39.465308 15109 master.cpp:3245] Launching task 7062 of 
framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 (No Executor Framework) at 
[email protected]:35526 with resources 
cpus(*):0.008 on slave 87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 at 
slave(1)@10.0.1.112:5051 (10.0.1.112)

    I0113 23:43:04.300138 15110 master.cpp:4414] Status update TASK_RUNNING 
(UUID: 174415c6-cf82-400a-90fc-31d7dfbf4fdd) for task 7062 of framework 
afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 from slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 at slave(1)@10.0.1.112:5051 (10.0.1.112)

    I0113 23:43:04.300900 15110 master.cpp:4462] Forwarding status update 
TASK_RUNNING (UUID: 174415c6-cf82-400a-90fc-31d7dfbf4fdd) for task 7062 of 
framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000

    I0113 23:43:04.301697 15110 master.cpp:6066] Updating the state of task 
7062 of framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 (latest state: 
TASK_RUNNING, status update state: TASK_RUNNING)

    I0113 23:43:17.932242 15110 master.cpp:3571] Processing ACKNOWLEDGE call 
174415c6-cf82-400a-90fc-31d7dfbf4fdd for task 7062 of framework 
afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 (No Executor Framework) at 
[email protected]:35526 on slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1

    I0113 23:43:29.625159 15110 master.cpp:4414] Status update TASK_RUNNING 
(UUID: 174415c6-cf82-400a-90fc-31d7dfbf4fdd) for task 7062 of framework 
afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 from slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 at slave(1)@10.0.1.112:5051 (10.0.1.112)

    I0113 23:43:29.626286 15110 master.cpp:4462] Forwarding status update 
TASK_RUNNING (UUID: 174415c6-cf82-400a-90fc-31d7dfbf4fdd) for task 7062 of 
framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000

    I0113 23:43:29.627462 15110 master.cpp:6066] Updating the state of task 
7062 of framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 (latest state: 
TASK_RUNNING, status update state: TASK_RUNNING)

    I0113 23:44:00.408326 15110 master.cpp:3571] Processing ACKNOWLEDGE call 
174415c6-cf82-400a-90fc-31d7dfbf4fdd for task 7062 of framework 
afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 (No Executor Framework) at 
[email protected]:35526 on slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1

    I0113 23:46:51.557840 15109 master.cpp:4414] Status update TASK_FINISHED 
(UUID: 33941ab4-117f-4f7c-92eb-19717298bd20) for task 7062 of framework 
afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 from slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 at slave(1)@10.0.1.112:5051 (10.0.1.112)

    I0113 23:46:51.562408 15109 master.cpp:4462] Forwarding status update 
TASK_FINISHED (UUID: 33941ab4-117f-4f7c-92eb-19717298bd20) for task 7062 of 
framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000

    I0113 23:46:51.564661 15109 master.cpp:6066] Updating the state of task 
7062 of framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 (latest state: 
TASK_FINISHED, status update state: TASK_FINISHED)

    I0113 23:48:29.797819 15109 master.cpp:4414] Status update TASK_FINISHED 
(UUID: 33941ab4-117f-4f7c-92eb-19717298bd20) for task 7062 of framework 
afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 from slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 at slave(1)@10.0.1.112:5051 (10.0.1.112)

    I0113 23:48:29.803653 15109 master.cpp:4462] Forwarding status update 
TASK_FINISHED (UUID: 33941ab4-117f-4f7c-92eb-19717298bd20) for task 7062 of 
framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000

    I0113 23:48:29.806558 15109 master.cpp:6066] Updating the state of task 
7062 of framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 (latest state: 
TASK_FINISHED, status update state: TASK_FINISHED)

    I0113 23:50:39.551422 15109 master.cpp:4414] Status update TASK_FINISHED 
(UUID: 33941ab4-117f-4f7c-92eb-19717298bd20) for task 7062 of framework 
afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 from slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 at slave(1)@10.0.1.112:5051 (10.0.1.112)

    I0113 23:50:39.558599 15109 master.cpp:4462] Forwarding status update 
TASK_FINISHED (UUID: 33941ab4-117f-4f7c-92eb-19717298bd20) for task 7062 of 
framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000

    I0113 23:50:39.562084 15109 master.cpp:6066] Updating the state of task 
7062 of framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 (latest state: 
TASK_FINISHED, status update state: TASK_FINISHED)

    I0113 23:51:04.038606 15109 master.cpp:3571] Processing ACKNOWLEDGE call 
33941ab4-117f-4f7c-92eb-19717298bd20 for task 7062 of framework 
afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 (No Executor Framework) at 
[email protected]:35526 on slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1

    I0113 23:51:04.042078 15109 master.cpp:6132] Removing task 7062 with 
resources cpus(*):0.008 of framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 
on slave 87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 at slave(1)@10.0.1.112:5051 
(10.0.1.112)

    I0113 23:53:23.032971 15109 master.cpp:4414] Status update TASK_FINISHED 
(UUID: 33941ab4-117f-4f7c-92eb-19717298bd20) for task 7062 of framework 
afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 from slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 at slave(1)@10.0.1.112:5051 (10.0.1.112)

    I0113 23:53:23.041556 15109 master.cpp:4462] Forwarding status update 
TASK_FINISHED (UUID: 33941ab4-117f-4f7c-92eb-19717298bd20) for task 7062 of 
framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000

    W0113 23:53:23.045639 15109 master.cpp:4431] Could not lookup task for 
status update TASK_FINISHED (UUID: 33941ab4-117f-4f7c-92eb-19717298bd20) for 
task 7062 of framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 from slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 at slave(1)@10.0.1.112:5051 (10.0.1.112)

    W0113 23:55:40.531605 15109 master.cpp:4407] Ignoring status update 
TASK_FINISHED (UUID: 33941ab4-117f-4f7c-92eb-19717298bd20) for task 7062 of 
framework afb66c28-eddf-4e4e-8b7a-fe822a04eef8-0000 from slave 
87f9cced-992e-4d35-9b9b-5a89b9563bba-S1 at slave(1)@10.0.1.112:5051 
(10.0.1.112) because the framework is unknown
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to