hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r640317 - in /hadoop/core/trunk: CHANGES.txt src/test/org/apache/hadoop/mapred/MiniMRCluster.java
Date Mon, 24 Mar 2008 05:07:35 GMT
Author: ddas
Date: Sun Mar 23 22:07:35 2008
New Revision: 640317

URL: http://svn.apache.org/viewvc?rev=640317&view=rev
Log:
HADOOP-2824. Removes one deprecated constructor from MiniMRCluster. Contributed by Amareshwari
Sriramadasu.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/test/org/apache/hadoop/mapred/MiniMRCluster.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=640317&r1=640316&r2=640317&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Sun Mar 23 22:07:35 2008
@@ -49,6 +49,8 @@
         Iterator entries()
     (Amareshwari Sriramadasu via ddas)
 
+    HADOOP-2824. Removes one deprecated constructor from MiniMRCluster.
+    (Amareshwari Sriramadasu via ddas)
 
   NEW FEATURES
 

Modified: hadoop/core/trunk/src/test/org/apache/hadoop/mapred/MiniMRCluster.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/test/org/apache/hadoop/mapred/MiniMRCluster.java?rev=640317&r1=640316&r2=640317&view=diff
==============================================================================
--- hadoop/core/trunk/src/test/org/apache/hadoop/mapred/MiniMRCluster.java (original)
+++ hadoop/core/trunk/src/test/org/apache/hadoop/mapred/MiniMRCluster.java Sun Mar 23 22:07:35
2008
@@ -284,21 +284,6 @@
     this(0, 0, numTaskTrackers, namenode, false, numDir);
   }
     
-  /**
-   * Create the config and start up the servers.  The ports supplied by the user are
-   * just used as suggestions.  If those ports are already in use, new ports
-   * are tried.  The caller should call getJobTrackerPort to get the actual rpc port used.
-   * @deprecated use {@link #MiniMRCluster(int, String, int)}
-   */
-  public MiniMRCluster(int jobTrackerPort,
-                       int taskTrackerPort,
-                       int numTaskTrackers,
-                       String namenode,
-                       boolean taskTrackerFirst) throws IOException {
-    this(jobTrackerPort, taskTrackerPort, numTaskTrackers, namenode, 
-         taskTrackerFirst, 1);
-  } 
-
   public MiniMRCluster(int jobTrackerPort,
       int taskTrackerPort,
       int numTaskTrackers,



Mime
View raw message