mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Mahler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-1661) socket errors should show IP address
Date Sun, 21 Oct 2018 23:48:00 GMT

    [ https://issues.apache.org/jira/browse/MESOS-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658439#comment-16658439
] 

Benjamin Mahler commented on MESOS-1661:
----------------------------------------

Hi [~un_brice], sorry this never went through. I filed MESOS-9340 to clean up our logging
and sent a patch.

> socket errors should show IP address
> ------------------------------------
>
>                 Key: MESOS-1661
>                 URL: https://issues.apache.org/jira/browse/MESOS-1661
>             Project: Mesos
>          Issue Type: Task
>          Components: libprocess
>            Reporter: David Robinson
>            Assignee: Brice Arnould
>            Priority: Minor
>              Labels: newbie
>
> [Log messages that show socket errors|https://github.com/apache/mesos/blob/master/3rdparty/libprocess/src/process.cpp#L1035]
(Connection refused, Broken pipe etc) should also show the remote IP address. It's difficult
to troubleshoot why a connection is being refused when you don't know where it's trying to
connect.
> {noformat:title=sample log snippet}
> I0801 23:15:57.315096 20305 log.cpp:656] Attempting to start the writer
> I0801 23:15:57.315913 20313 replica.cpp:474] Replica received implicit promise request
with proposal 865
> I0801 23:15:57.316473 20326 process.cpp:1096] Socket error while receiving: Connection
refused
> I0801 23:15:57.316499 20326 process.cpp:1140] Socket error while sending: Broken pipe
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message