Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1465#discussion_r15148112
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -1477,7 +1478,8 @@ object SparkContext extends Logging {
             def localCpuCount = Runtime.getRuntime.availableProcessors()
             // local[*] estimates the number of cores on the machine; local[N] 
uses exactly N threads.
             val threadCount = if (threads == "*") localCpuCount else 
threads.toInt
    -        val scheduler = new TaskSchedulerImpl(sc, MAX_LOCAL_TASK_FAILURES, 
isLocal = true)
    +        val localTaskFailures = sc.conf.getInt("spark.local.maxFailures", 
MAX_LOCAL_TASK_FAILURES)
    --- End diff --
    
    here too


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to