incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1021242 - in /incubator/hama/trunk: CHANGES.txt src/java/org/apache/hama/bsp/GroomServer.java src/java/org/apache/hama/bsp/LocalJobRunner.java
Date Mon, 11 Oct 2010 05:24:06 GMT
Author: edwardyoon
Date: Mon Oct 11 05:24:05 2010
New Revision: 1021242

URL: http://svn.apache.org/viewvc?rev=1021242&view=rev
Log:
Remove unused field 'task' from GroomServer

Modified:
    incubator/hama/trunk/CHANGES.txt
    incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java
    incubator/hama/trunk/src/java/org/apache/hama/bsp/LocalJobRunner.java

Modified: incubator/hama/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1021242&r1=1021241&r2=1021242&view=diff
==============================================================================
--- incubator/hama/trunk/CHANGES.txt (original)
+++ incubator/hama/trunk/CHANGES.txt Mon Oct 11 05:24:05 2010
@@ -47,6 +47,7 @@ Trunk (unreleased changes)
 
   IMPROVEMENTS
     
+    HAMA-299: Remove unused field 'task' from GroomServer (edwardyoon)
     HAMA-297: Add missing Apache License header to source files. (edwardyoon)
     HAMA-268: Implement BSPMaster's all methods extended 
                 from JobSubmissionProtocol (hyunsik via edwardyoon)
@@ -164,6 +165,8 @@ Trunk (unreleased changes)
 
   BUG FIXES
   
+    HAMA-303: slave.host.name is superceded by bsp.peer.hostname 
+                (Filipe Manana via edwardyoon)
     HAMA-296: Fix warning about deprecated method (edwardyoon)
     HAMA-291: bsp.groom.port is unnused and superseeded 
                        by bsp.peer.port (Filipe Manana via edwardyoon)

Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java?rev=1021242&r1=1021241&r2=1021242&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java Mon Oct 11 05:24:05
2010
@@ -50,7 +50,6 @@ import org.apache.hama.ipc.InterTrackerP
 public class GroomServer implements Runnable {
   public static final Log LOG = LogFactory.getLog(GroomServer.class);
   private static BSPPeer bspPeer;
-  private Task task;
 
   Configuration conf;
 
@@ -517,10 +516,6 @@ public class GroomServer implements Runn
     }
   }
 
-  public void assignTask(Task task) {
-    this.task = task;
-  }
-
   public String getServerName() {
     return bspPeer.getServerName();
   }

Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/LocalJobRunner.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/LocalJobRunner.java?rev=1021242&r1=1021241&r2=1021242&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/LocalJobRunner.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/LocalJobRunner.java Mon Oct 11 05:24:05
2010
@@ -173,11 +173,8 @@ public class LocalJobRunner implements J
           try {
             GroomServer servers = new GroomServer(conf);
             Task task = new BSPTask(job.getJobID(), jobFile, tID.toString(), i, this.conf);
-            servers.assignTask(task);
-            LOG.info("Adding task '" + tID.toString() + "' for '" + servers.getServerName()
+ "'");
             
             // TODO not yet implemented
-            //servers.launchTask();
             
           } catch (IOException e) {
             e.printStackTrace();



Mime
View raw message