You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2010/10/11 07:19:38 UTC
svn commit: r1021241 -
/incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServer.java
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) {