hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfen...@apache.org
Subject svn commit: r1607244 - /hama/trunk/mesos/src/main/java/org/apache/hama/bsp/ResourceManager.java
Date Wed, 02 Jul 2014 05:21:30 GMT
Author: jfenc91
Date: Wed Jul  2 05:21:30 2014
New Revision: 1607244

URL: http://svn.apache.org/r1607244
Log:
Fixed a bug in the mesos module that caused spaces to appear in the HAMA_HOME path when hama
was deployed in mesos tasks.

Modified:
    hama/trunk/mesos/src/main/java/org/apache/hama/bsp/ResourceManager.java

Modified: hama/trunk/mesos/src/main/java/org/apache/hama/bsp/ResourceManager.java
URL: http://svn.apache.org/viewvc/hama/trunk/mesos/src/main/java/org/apache/hama/bsp/ResourceManager.java?rev=1607244&r1=1607243&r2=1607244&view=diff
==============================================================================
--- hama/trunk/mesos/src/main/java/org/apache/hama/bsp/ResourceManager.java (original)
+++ hama/trunk/mesos/src/main/java/org/apache/hama/bsp/ResourceManager.java Wed Jul  2 05:21:30
2014
@@ -219,7 +219,7 @@ public class ResourceManager {
 
   private void launchTasks(SchedulerDriver schedulerDriver,
       java.util.Queue<TaskInProgress> tips, ResourceOffer offer) {
-    TaskID taskId = TaskID.newBuilder().setValue("Task " + launchedTasks++)
+    TaskID taskId = TaskID.newBuilder().setValue("Task_" + launchedTasks++)
         .build();
 
     List<Long> ports = claimPorts(offer.ports, 2);



Mime
View raw message