You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ya...@apache.org on 2017/04/28 21:55:51 UTC
[5/6] mesos git commit: Logged when an agent (re-)registration
request is received.
Logged when an agent (re-)registration request is received.
- This log happens after the master has done initial validation but
before authorization, which is consistent with the (re-)register
framework code paths.
Review: https://reviews.apache.org/r/58676
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9fb6a11a
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9fb6a11a
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/9fb6a11a
Branch: refs/heads/master
Commit: 9fb6a11a5dc7645ebb5eb26a58f305dc81fe7b4d
Parents: 70ce516
Author: Jiang Yan Xu <xu...@apple.com>
Authored: Fri Apr 21 22:21:18 2017 -0700
Committer: Jiang Yan Xu <xu...@apple.com>
Committed: Fri Apr 28 14:55:13 2017 -0700
----------------------------------------------------------------------
src/master/master.cpp | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/9fb6a11a/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index 2be4056..97df727 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -5420,6 +5420,9 @@ void Master::registerSlave(
return;
}
+ LOG(INFO) << "Received register agent message from "
+ << from << " (" << slaveInfo.hostname() << ")";
+
slaves.registering.insert(from);
// Note that the principal may be empty if authentication is not
@@ -5678,6 +5681,10 @@ void Master::reregisterSlave(
return;
}
+ LOG(INFO) << "Received re-register agent message from agent "
+ << slaveInfo.id() << " at " << from << " ("
+ << slaveInfo.hostname() << ")";
+
slaves.reregistering.insert(slaveInfo.id());
// Note that the principal may be empty if authentication is not