hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1201952 - in /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project: CHANGES.txt src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
Date Mon, 14 Nov 2011 22:46:15 GMT
Author: mahadev
Date: Mon Nov 14 22:46:15 2011
New Revision: 1201952

URL: http://svn.apache.org/viewvc?rev=1201952&view=rev
Log:
MAPREDUCE-3243. Invalid tracking URL for streaming jobs (Jonathan Eagles via mahadev) - Merging
r1201951 from trunk.

Modified:
    hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
    hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java

Modified: hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt?rev=1201952&r1=1201951&r2=1201952&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt Mon Nov 14 22:46:15
2011
@@ -30,6 +30,9 @@ Release 0.23.1 - Unreleased
     MAPREDUCE-3341. Enhance logging of initalized queue limit values.
     (Anupam Seth via mahadev)
 
+    MAPREDUCE-3243. Invalid tracking URL for streaming jobs (Jonathan Eagles 
+    via mahadev)
+
   OPTIMIZATIONS
 
   BUG FIXES

Modified: hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java?rev=1201952&r1=1201951&r2=1201952&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
(original)
+++ hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
Mon Nov 14 22:46:15 2011
@@ -984,19 +984,6 @@ public class StreamJob implements Tool {
     return jobConf_.get(JTConfig.JT_IPC_ADDRESS);
   }
 
-  protected void jobInfo() {
-    if (isLocalHadoop()) {
-      LOG.info("Job running in-process (local Hadoop)");
-    } else {
-      String hp = getJobTrackerHostPort();
-      LOG.info("To kill this job, run:");
-      LOG.info(getHadoopClientHome() + "/bin/hadoop job  -D" + JTConfig.JT_IPC_ADDRESS +
"=" + hp + " -kill "
-               + jobId_);
-      //LOG.info("Job file: " + running_.getJobFile());
-      LOG.info("Tracking URL: " + StreamUtil.qualifyHost(running_.getTrackingURL()));
-    }
-  }
-
   // Based on JobClient
   public int submitAndMonitorJob() throws IOException {
 
@@ -1012,7 +999,6 @@ public class StreamJob implements Tool {
     try {
       running_ = jc_.submitJob(jobConf_);
       jobId_ = running_.getID();
-      jobInfo();
       if (background_) {
         LOG.info("Job is running in background.");
       } else if (!jc_.monitorAndPrintJob(jobConf_, running_)) {



Mime
View raw message