[
https://issues.apache.org/jira/browse/MESOS-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Toenshoff updated MESOS-3769:
----------------------------------
Labels: newbie (was: )
Looks like all code-paths in {{void Slave::shutdown(const UPID& from, const
string& message)}} should should check for {{message.empty()}} before trying to
log it.
> Agent logs are misleading during agent shutdown
> -----------------------------------------------
>
> Key: MESOS-3769
> URL: https://issues.apache.org/jira/browse/MESOS-3769
> Project: Mesos
> Issue Type: Bug
> Reporter: Alexander Rukletsov
> Priority: Minor
> Labels: newbie
>
> When analyzing output of the {{MasterAllocatorTest.SlaveLost}} test I spotted
> following logs:
> {noformat}
> I1020 18:18:09.026553 237658112 status_update_manager.cpp:322] Received
> status update TASK_RUNNING (UUID: 767597b2-f9de-464b-ac20-985452a897e6) for
> task 0 of framework 7aff439d-307c-486b-9c0d-c2a47ddbda5b-0000
> I1020 18:18:09.026845 234438656 slave.cpp:3090] Forwarding the update
> TASK_RUNNING (UUID: 767597b2-f9de-464b-ac20-985452a897e6) for task 0 of
> framework 7aff439d-307c-486b-9c0d-c2a47ddbda5b-0000 to
> [email protected]:62507
> I1020 18:18:09.026973 234438656 slave.cpp:651] ; unregistering and shutting
> down
> I1020 18:18:09.027007 234438656 slave.cpp:2016] Asked to shut down framework
> 7aff439d-307c-486b-9c0d-c2a47ddbda5b-0000 by @0.0.0.0:0
> I1020 18:18:09.027019 234438656 slave.cpp:2041] Shutting down framework
> 7aff439d-307c-486b-9c0d-c2a47ddbda5b-0000
> {noformat}
> It looks like {{Slave::shutdown()}} uses wrong assumptions about possible
> execution paths.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)