Github user kbzod commented on a diff in the pull request:
https://github.com/apache/spark/pull/1465#discussion_r15245710
--- 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 --
Will do.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---