You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Brice Arnould (JIRA)" <ji...@apache.org> on 2015/10/09 03:03:27 UTC
[jira] [Commented] (MESOS-1661) socket errors should show IP
address
[ https://issues.apache.org/jira/browse/MESOS-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14949708#comment-14949708 ]
Brice Arnould commented on MESOS-1661:
--------------------------------------
Hello! I would like to take a stab at this to familiarize myself with the review process.
> 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: Ken Sipe
> 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
(v6.3.4#6332)