You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@twill.apache.org by ch...@apache.org on 2014/04/22 08:06:18 UTC
[21/50] [abbrv] git commit: TWILL-41: Log host name where container
was launched
TWILL-41: Log host name where container was launched
Signed-off-by: Terence Yim <te...@continuuity.com>
Project: http://git-wip-us.apache.org/repos/asf/incubator-twill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-twill/commit/d9e8ead2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-twill/tree/d9e8ead2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-twill/diff/d9e8ead2
Branch: refs/heads/site
Commit: d9e8ead2e9b40bbf4973152a07724ac55deeb5b8
Parents: 4ecdfe1
Author: Alex Baranau <al...@continuuity.com>
Authored: Mon Feb 10 10:44:27 2014 -0800
Committer: Terence Yim <te...@continuuity.com>
Committed: Mon Feb 10 10:49:23 2014 -0800
----------------------------------------------------------------------
.../apache/twill/internal/appmaster/RunnableProcessLauncher.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/d9e8ead2/twill-yarn/src/main/java/org/apache/twill/internal/appmaster/RunnableProcessLauncher.java
----------------------------------------------------------------------
diff --git a/twill-yarn/src/main/java/org/apache/twill/internal/appmaster/RunnableProcessLauncher.java b/twill-yarn/src/main/java/org/apache/twill/internal/appmaster/RunnableProcessLauncher.java
index 29b3f9c..2126541 100644
--- a/twill-yarn/src/main/java/org/apache/twill/internal/appmaster/RunnableProcessLauncher.java
+++ b/twill-yarn/src/main/java/org/apache/twill/internal/appmaster/RunnableProcessLauncher.java
@@ -68,7 +68,8 @@ public final class RunnableProcessLauncher extends AbstractYarnProcessLauncher<Y
launchContext.setEnvironment(env);
- LOG.info("Launching in container {}, {}", containerInfo.getId(), launchContext.getCommands());
+ LOG.info("Launching in container {} at {}, {}",
+ containerInfo.getId(), containerInfo.getHost(), launchContext.getCommands());
final Cancellable cancellable = nmClient.start(containerInfo, launchContext);
launched = true;