Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tnachen committed Feb 5, 2015
1 parent 984cfa2 commit 996ae11
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import java.util.{List => JList}
import java.util.Collections

import scala.collection.JavaConversions._
import scala.collection.mutable.{HashMap, HashSet}
import scala.collection.mutable.{ArrayBuffer, HashMap, HashSet}

import org.apache.mesos.{Scheduler => MScheduler}
import org.apache.mesos._
Expand Down Expand Up @@ -212,7 +212,7 @@ private[spark] class CoarseMesosSchedulerBackend(
var totalMem = getResource(offer.getResourcesList, "mem")
var totalCpus = getResource(offer.getResourcesList, "cpus").toInt

val tasks = new util.ArrayList[MesosTaskInfo]
val tasks = new ArrayBuffer[MesosTaskInfo]

var executorCount = slaveIdsWithExecutors.getOrElse(slaveId, 0)
// Launch as many executors that the resources are available and less
Expand Down

0 comments on commit 996ae11

Please sign in to comment.