You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2014/08/21 20:41:14 UTC
git commit: Report bind parameters on failure.
Repository: mesos
Updated Branches:
refs/heads/master d7212c9f6 -> 70784a9f2
Report bind parameters on failure.
Review: https://reviews.apache.org/r/24939
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/70784a9f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/70784a9f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/70784a9f
Branch: refs/heads/master
Commit: 70784a9f234b2902d6fee11298365d9b08756313
Parents: d7212c9
Author: Nikita Vetoshkin <ni...@gmail.com>
Authored: Thu Aug 21 11:40:55 2014 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Thu Aug 21 11:40:55 2014 -0700
----------------------------------------------------------------------
3rdparty/libprocess/src/process.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/70784a9f/3rdparty/libprocess/src/process.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/process.cpp b/3rdparty/libprocess/src/process.cpp
index ddcedb7..3ac56c7 100644
--- a/3rdparty/libprocess/src/process.cpp
+++ b/3rdparty/libprocess/src/process.cpp
@@ -1629,7 +1629,8 @@ void initialize(const string& delegate)
addr.sin_port = htons(__port__);
if (bind(__s__, (sockaddr*) &addr, sizeof(addr)) < 0) {
- PLOG(FATAL) << "Failed to initialize, bind";
+ PLOG(FATAL) << "Failed to initialize, bind "
+ << inet_ntoa(addr.sin_addr) << ":" << __port__;
}
// Lookup and store assigned ip and assigned port.