Skip to content

Commit

Permalink
Couple of more style comments
Browse files Browse the repository at this point in the history
  • Loading branch information
foxish committed Oct 20, 2017
1 parent c052212 commit c565c9f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ private[spark] class KubernetesClusterSchedulerBackend(

private val kubernetesDriverPodName = conf
.get(KUBERNETES_DRIVER_POD_NAME)
.getOrElse(
throw new SparkException("Must specify the driver pod name"))
.getOrElse(throw new SparkException("Must specify the driver pod name"))
private implicit val requestExecutorContext = ExecutionContext.fromExecutorService(
requestExecutorsService)

Expand All @@ -86,7 +85,7 @@ private[spark] class KubernetesClusterSchedulerBackend(
}

private val executorWatchResource = new AtomicReference[Closeable]
protected var totalExpectedExecutors = new AtomicInteger(0)
protected val totalExpectedExecutors = new AtomicInteger(0)

private val driverUrl = RpcEndpointAddress(
conf.get("spark.driver.host"),
Expand Down

0 comments on commit c565c9f

Please sign in to comment.