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

    https://github.com/apache/spark/pull/219#discussion_r10915339
  
    --- 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 --
    
    Hmm - we could document this in docs/configuration.md -- but I don't think 
this is a commonly used flag, and it has been around for a while I guess. 


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