hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject [09/50] [abbrv] hadoop git commit: YARN-5080. Cannot obtain logs using YARN CLI -am for either KILLED or RUNNING AM. Contributed by Xuan Gong
Date Tue, 17 May 2016 20:17:59 GMT
YARN-5080. Cannot obtain logs using YARN CLI -am for either KILLED or
RUNNING AM. Contributed by Xuan Gong


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

Branch: refs/heads/YARN-3368
Commit: 7be53b65f95dae89c760cde354b42f15f5ee3b5f
Parents: 3fa1380
Author: Xuan <xgong@apache.org>
Authored: Sat May 14 12:19:23 2016 -0700
Committer: Xuan <xgong@apache.org>
Committed: Sat May 14 12:19:23 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/yarn/client/cli/LogsCLI.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/7be53b65/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 926ba79..1ac4d61 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
@@ -262,9 +262,7 @@ public class LogsCLI extends Configured implements Tool {
       Configuration conf, String appId) throws ClientHandlerException,
       UniformInterfaceException, JSONException {
     Client webServiceClient = Client.create();
-    String webAppAddress =
-        WebAppUtils.getWebAppBindURL(conf, YarnConfiguration.RM_BIND_HOST,
-          WebAppUtils.getRMWebAppURLWithScheme(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