hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r537295 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/JobClient.java src/java/org/apache/hadoop/mapred/RunningJob.java
Date Fri, 11 May 2007 21:23:53 GMT
Author: cutting
Date: Fri May 11 14:23:53 2007
New Revision: 537295

URL: http://svn.apache.org/viewvc?view=rev&rev=537295
Log:
HADOOP-1344.  Add RunningJob#getJobName().  Contributed by Michael Bieniosek.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java
    lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/RunningJob.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=537295&r1=537294&r2=537295
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri May 11 14:23:53 2007
@@ -9,6 +9,8 @@
   2. HADOOP-1343.  In Configuration, deprecate set(String,Object) and
      implement Iterable. (omalley via cutting)
 
+  3. HADOOP-1344.  Add RunningJob#getJobName(). (Michael Bieniosek via cutting)
+
 
 Branch 0.13 (unreleased changes)
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java?view=diff&rev=537295&r1=537294&r2=537295
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java Fri May 11 14:23:53
2007
@@ -84,6 +84,13 @@
     public String getJobID() {
       return profile.getJobId();
     }
+    
+    /**
+     * The user-specified job name
+     */
+    public String getJobName() {
+      return profile.getJobName();
+    }
 
     /**
      * The name of the job file

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/RunningJob.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/RunningJob.java?view=diff&rev=537295&r1=537294&r2=537295
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/RunningJob.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/RunningJob.java Fri May 11 14:23:53
2007
@@ -31,6 +31,11 @@
    * Returns an identifier for the job
    */
   public String getJobID();
+  
+  /**
+   * Returns the name of the job
+   */
+  public String getJobName();
 
   /**
    * Returns the path of the submitted job.



Mime
View raw message