Skip to content

Commit

Permalink
Merge pull request alteryx#65 from tgravescs/fixYarn
Browse files Browse the repository at this point in the history
Fix yarn build

Fix the yarn build after renaming StandAloneX to CoarseGrainedX from pull request 34.

(cherry picked from commit f9973ca)
Signed-off-by: Reynold Xin <[email protected]>
  • Loading branch information
mateiz authored and rxin committed Oct 18, 2013
1 parent d0c9d41 commit 1e67234
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 org.apache.spark.util.Utils
import org.apache.spark.scheduler.SplitInfo
import scala.collection
import org.apache.hadoop.yarn.api.records.{AMResponse, ApplicationAttemptId, ContainerId, Priority, Resource, ResourceRequest, ContainerStatus, Container}
import org.apache.spark.scheduler.cluster.{ClusterScheduler, StandaloneSchedulerBackend}
import org.apache.spark.scheduler.cluster.{ClusterScheduler, CoarseGrainedSchedulerBackend}
import org.apache.hadoop.yarn.api.protocolrecords.{AllocateRequest, AllocateResponse}
import org.apache.hadoop.yarn.util.{RackResolver, Records}
import java.util.concurrent.{CopyOnWriteArrayList, ConcurrentHashMap}
Expand Down Expand Up @@ -211,7 +211,7 @@ private[yarn] class YarnAllocationHandler(val conf: Configuration, val resourceM
val workerId = workerIdCounter.incrementAndGet().toString
val driverUrl = "akka://spark@%s:%s/user/%s".format(
System.getProperty("spark.driver.host"), System.getProperty("spark.driver.port"),
StandaloneSchedulerBackend.ACTOR_NAME)
CoarseGrainedSchedulerBackend.ACTOR_NAME)

logInfo("launching container on " + containerId + " host " + workerHostname)
// just to be safe, simply remove it from pendingReleaseContainers. Should not be there, but ..
Expand Down

0 comments on commit 1e67234

Please sign in to comment.