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

    https://github.com/apache/spark/pull/219#discussion_r10918370
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala ---
    @@ -62,6 +62,9 @@ private[spark] class TaskSchedulerImpl(
       // Threshold above which we warn user initial TaskSet may be starved
       val STARVATION_TIMEOUT = conf.getLong("spark.starvation.timeout", 15000)
     
    +  // CPUs to request per task
    +  val CPUS_PER_TASK = conf.getInt("spark.task.cpus", 1)
    --- End diff --
    
    Ah I see that it wasn't part of your change. Anyways it might make sense to 
document it.


---
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