This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new bb6dbd2  [SPARK-26082][MESOS] Fix mesos fetch cache config name
bb6dbd2 is described below

commit bb6dbd23f6b594e7ac361ff605f8b1ed18877aa3
Author: mwlon <mlonca...@hmc.edu>
AuthorDate: Thu Feb 7 01:21:31 2019 -0800

    [SPARK-26082][MESOS] Fix mesos fetch cache config name
    
    ## What changes were proposed in this pull request?
    
    * change MesosClusterScheduler to use correct argument name for Mesos fetch 
cache (spark.mesos.fetchCache.enable -> spark.mesos.fetcherCache.enable)
    
    ## How was this patch tested?
    
    Not sure this requires a test, since it's just a string change.
    
    Closes #23734 from mwlon/SPARK-26082.
    
    Authored-by: mwlon <mlonca...@hmc.edu>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
    (cherry picked from commit c0811e8b4d11892f60b7032ba4c8e3adc40fe82f)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 .../apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
 
b/resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
index b36f464..9306f80 100644
--- 
a/resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
+++ 
b/resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
@@ -130,7 +130,7 @@ private[spark] class MesosClusterScheduler(
   private val queuedCapacity = conf.getInt("spark.mesos.maxDrivers", 200)
   private val retainedDrivers = conf.getInt("spark.mesos.retainedDrivers", 200)
   private val maxRetryWaitTime = 
conf.getInt("spark.mesos.cluster.retry.wait.max", 60) // 1 minute
-  private val useFetchCache = conf.getBoolean("spark.mesos.fetchCache.enable", 
false)
+  private val useFetchCache = 
conf.getBoolean("spark.mesos.fetcherCache.enable", false)
   private val schedulerState = engineFactory.createEngine("scheduler")
   private val stateLock = new Object()
   // Keyed by submission id


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to