hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r808122 - in /hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred: JobTracker.java TaskTracker.java
Date Wed, 26 Aug 2009 16:56:39 GMT
Author: stevel
Date: Wed Aug 26 16:56:39 2009
New Revision: 808122

URL: http://svn.apache.org/viewvc?rev=808122&view=rev
Log:
MAPREDUCE-233 SFOS-1270 strip the ping operation from the service lifecycle proposal.

Modified:
    hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred/JobTracker.java
    hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred/TaskTracker.java

Modified: hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred/JobTracker.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred/JobTracker.java?rev=808122&r1=808121&r2=808122&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred/JobTracker.java
(original)
+++ hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred/JobTracker.java
Wed Aug 26 16:56:39 2009
@@ -2218,26 +2218,6 @@
   /////////////////////////////////////////////////////
 
   /**
-   * {@inheritDoc}
-   *
-   * @param status a status that can be updated with problems
-   * @throws IOException for any problem
-   */
-  @Override
-  public void innerPing(ServiceStatus status) throws IOException {
-    if (infoServer == null || !infoServer.isAlive()) {
-      status.addThrowable(
-              new IOException("TaskTracker HttpServer is not running on port "
-                      + infoPort));
-    }
-    if (interTrackerServer == null) {
-      status.addThrowable(
-              new IOException("InterTrackerServer is not running on port "
-                      + port ));
-    }
-  }
-
-  /**
    * This service shuts down by stopping the
    * {@link JobEndNotifier} and then closing down the job
    * tracker

Modified: hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred/TaskTracker.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred/TaskTracker.java?rev=808122&r1=808121&r2=808122&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred/TaskTracker.java
(original)
+++ hadoop/mapreduce/branches/MAPREDUCE-233/src/java/org/apache/hadoop/mapred/TaskTracker.java
Wed Aug 26 16:56:39 2009
@@ -1151,26 +1151,6 @@
   /////////////////////////////////////////////////////
 
   /**
-   * {@inheritDoc}
-   *
-   * @param status a status that can be updated with problems
-   * @throws IOException       for any problem
-   */
-  @Override
-  public void innerPing(ServiceStatus status) throws IOException {
-    if (server == null || !server.isAlive()) {
-      status.addThrowable(
-              new IOException("TaskTracker HttpServer is not running on port "
-                      + httpPort));
-    }
-    if (taskReportServer == null) {
-      status.addThrowable(
-              new IOException("TaskTracker Report Server is not running on "
-              + taskReportAddress));
-    }
-  }
-
-  /**
    * A shutdown request triggers termination
    * @throws IOException when errors happen during termination
    */



Mime
View raw message