hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From junping...@apache.org
Subject hadoop git commit: New addendum to YARN-5080. Cannot obtain logs using YARN CLI -am for either KILLED or RUNNING AM.
Date Tue, 12 Jul 2016 15:30:22 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk d14e729a5 -> 7705812c7


New addendum to YARN-5080. Cannot obtain logs using YARN CLI -am for either KILLED or RUNNING
AM.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/7705812c
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7705812c
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7705812c

Branch: refs/heads/trunk
Commit: 7705812c7e3a9f3f774130e25443fda249c08c9c
Parents: d14e729
Author: Junping Du <junping_du@apache.org>
Authored: Tue Jul 12 08:29:49 2016 -0700
Committer: Junping Du <junping_du@apache.org>
Committed: Tue Jul 12 08:29:49 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/yarn/client/cli/LogsCLI.java    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/7705812c/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/LogsCLI.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/LogsCLI.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/LogsCLI.java
index 86187ca..79401b1 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/LogsCLI.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/LogsCLI.java
@@ -284,9 +284,8 @@ public class LogsCLI extends Configured implements Tool {
       Configuration conf, String appId) throws ClientHandlerException,
       UniformInterfaceException, JSONException {
     Client webServiceClient = Client.create();
-    String webAppAddress = WebAppUtils.getHttpSchemePrefix(conf) +
-        WebAppUtils.getWebAppBindURL(conf, YarnConfiguration.RM_BIND_HOST,
-        WebAppUtils.getRMWebAppURLWithoutScheme(conf));
+    String webAppAddress = WebAppUtils.getRMWebAppURLWithScheme(conf);
+
     WebResource webResource = webServiceClient.resource(webAppAddress);
 
     ClientResponse response =


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message