From 27c56b02b3015f631962992bd9193d26b85a5496 Mon Sep 17 00:00:00 2001 From: Mahadev Konar Date: Mon, 23 Jan 2012 22:22:53 +0000 Subject: [PATCH] MAPREDUCE-3646. Remove redundant URL info from "mapred job" output. (Jonathan Eagles via mahadev) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1235034 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-mapreduce-project/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/mapreduce/Job.java | 1 + .../java/org/apache/hadoop/mapred/ClientServiceDelegate.java | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index 158977b03b4..c0c75d072d3 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -535,6 +535,9 @@ Release 0.23.1 - Unreleased MAPREDUCE-3702. internal server error trying access application master via proxy with filter enabled (Thomas Graves via mahadev) + MAPREDUCE-3646. Remove redundant URL info from "mapred job" output. + (Jonathan Eagles via mahadev) + Release 0.23.0 - 2011-11-01 INCOMPATIBLE CHANGES diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java index 88de3f88c19..2af7ef2ace4 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java @@ -1216,6 +1216,7 @@ public class Job extends JobContextImpl implements JobContext { } }); state = JobState.RUNNING; + LOG.info("The url to track the job: " + getTrackingURL()); } /** diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java index 917b1afba9f..8186dcd6a73 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java @@ -175,7 +175,6 @@ public class ClientServiceDelegate { + ":" + addr.getPort())); newUgi.addToken(clientToken); } - LOG.info("The url to track the job: " + application.getTrackingUrl()); LOG.debug("Connecting to " + serviceAddr); final String tempStr = serviceAddr; realProxy = newUgi.doAs(new PrivilegedExceptionAction() {