You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whirr.apache.org by to...@apache.org on 2010/10/05 22:36:22 UTC
svn commit: r1004806 - in /incubator/whirr/trunk: CHANGES.txt
services/hadoop/src/main/java/org/apache/whirr/service/hadoop/HadoopService.java
Author: tomwhite
Date: Tue Oct 5 20:36:21 2010
New Revision: 1004806
URL: http://svn.apache.org/viewvc?rev=1004806&view=rev
Log:
WHIRR-113. Hadoop cluster instances should all start in the same location.
Modified:
incubator/whirr/trunk/CHANGES.txt
incubator/whirr/trunk/services/hadoop/src/main/java/org/apache/whirr/service/hadoop/HadoopService.java
Modified: incubator/whirr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/CHANGES.txt?rev=1004806&r1=1004805&r2=1004806&view=diff
==============================================================================
--- incubator/whirr/trunk/CHANGES.txt (original)
+++ incubator/whirr/trunk/CHANGES.txt Tue Oct 5 20:36:21 2010
@@ -47,6 +47,9 @@ Trunk (unreleased changes)
WHIRR-106. Improve logging in whirr cli. (tomwhite)
+ WHIRR-113. Hadoop cluster instances should all start in the same location.
+ (tomwhite)
+
Release 0.1.0 - 2010-09-02
INCOMPATIBLE CHANGES
Modified: incubator/whirr/trunk/services/hadoop/src/main/java/org/apache/whirr/service/hadoop/HadoopService.java
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/services/hadoop/src/main/java/org/apache/whirr/service/hadoop/HadoopService.java?rev=1004806&r1=1004805&r2=1004806&view=diff
==============================================================================
--- incubator/whirr/trunk/services/hadoop/src/main/java/org/apache/whirr/service/hadoop/HadoopService.java (original)
+++ incubator/whirr/trunk/services/hadoop/src/main/java/org/apache/whirr/service/hadoop/HadoopService.java Tue Oct 5 20:36:21 2010
@@ -155,6 +155,7 @@ public class HadoopService extends Servi
.authorizePublicKey(clusterSpec.getPublicKey()));
strategy.configureTemplateBuilder(clusterSpec, slaveTemplateBuilder);
+ slaveTemplateBuilder.locationId(masterTemplate.getLocation().getId());
Template slaveTemplate = slaveTemplateBuilder.build();