You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2018/10/03 18:08:25 UTC
[mesos] branch 1.5.x updated: Added a log line to
`MesosContainerizer::kill()`.
This is an automated email from the ASF dual-hosted git repository.
vinodkone pushed a commit to branch 1.5.x
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/1.5.x by this push:
new ba960ed Added a log line to `MesosContainerizer::kill()`.
ba960ed is described below
commit ba960ed45e80119eadf398abd72609538fbc983e
Author: Vinod Kone <vi...@gmail.com>
AuthorDate: Wed Oct 3 09:51:53 2018 -0500
Added a log line to `MesosContainerizer::kill()`.
Review: https://reviews.apache.org/r/68912
---
src/slave/containerizer/mesos/containerizer.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/slave/containerizer/mesos/containerizer.cpp b/src/slave/containerizer/mesos/containerizer.cpp
index 2e718fe..9f3df1f 100644
--- a/src/slave/containerizer/mesos/containerizer.cpp
+++ b/src/slave/containerizer/mesos/containerizer.cpp
@@ -2696,6 +2696,10 @@ Future<bool> MesosContainerizerProcess::kill(
const Owned<Container>& container = containers_.at(containerId);
+ LOG_BASED_ON_CLASS(container->containerClass())
+ << "Sending " << strsignal(signal) << " to container "
+ << containerId << " in " << container->state << " state";
+
// This can happen when we try to signal the container before it
// is launched. We destroy the container forcefully in this case.
//