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

    https://github.com/apache/spark/pull/1313#discussion_r15508186
  
    --- Diff: core/src/main/scala/org/apache/spark/scheduler/TaskLocality.scala 
---
    @@ -22,7 +22,7 @@ import org.apache.spark.annotation.DeveloperApi
     @DeveloperApi
     object TaskLocality extends Enumeration {
       // Process local is expected to be used ONLY within TaskSetManager for 
now.
    -  val PROCESS_LOCAL, NODE_LOCAL, RACK_LOCAL, ANY = Value
    +  val PROCESS_LOCAL, NODE_LOCAL, NOPREF, RACK_LOCAL, ANY = Value
    --- End diff --
    
    Call NOPREF NO_PREF instead to make it more consistent with the others


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