incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1021241 - /incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java
Date Mon, 11 Oct 2010 05:19:38 GMT
Author: edwardyoon
Date: Mon Oct 11 05:19:38 2010
New Revision: 1021241

URL: http://svn.apache.org/viewvc?rev=1021241&view=rev
Log:
slave.host.name is superceded by bsp.peer.hostname

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

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=1021241&r1=1021240&r2=1021241&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:19:38
2010
@@ -104,8 +104,8 @@ public class GroomServer implements Runn
   }
 
   public synchronized void initialize() throws IOException {
-    if (this.conf.get("slave.host.name") != null) {
-      this.localHostname = conf.get("slave.host.name");
+    if (this.conf.get(Constants.PEER_HOST) != null) {
+      this.localHostname = conf.get(Constants.PEER_HOST);
     }
 
     if (localHostname == null) {



Mime
View raw message