Github user cloud-fan commented on the pull request:

    https://github.com/apache/spark/pull/7373#issuecomment-121654210
  
    @davies  which "local" do you mean? If you mean `LocalBackend`(--master 
"local[*]"), we will still serialize and deserialize task sets, if you mean 
"running locally", currently we only allow one-partition job to [run 
locally](https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L806).
    
    cc @rxin, an unrelate question here, I saw we set up task context even for 
[local 
execution](https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L674-L682),
 and set partition id to 0, is there really a case that we don't have task 
context? 


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to