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

    https://github.com/apache/spark/pull/1313#discussion_r15684978
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala ---
    @@ -341,20 +354,27 @@ private[spark] class TaskSetManager(
        *
        * @return An option containing (task index within the task set, 
locality, is speculative?)
        */
    -  private def findTask(execId: String, host: String, locality: 
TaskLocality.Value)
    -    : Option[(Int, TaskLocality.Value, Boolean)] =
    +  private def findTask(execId: String, host: String, maxLocality: 
TaskLocality.Value)
    +  : Option[(Int, TaskLocality.Value, Boolean)] =
    --- End diff --
    
    Small style issue: you need to indent the `:` by four more spaces


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

Reply via email to