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

    https://github.com/apache/spark/pull/6990#discussion_r33247564
  
    --- Diff: core/src/main/scala/org/apache/spark/storage/BlockManager.scala 
---
    @@ -834,7 +834,8 @@ private[spark] class BlockManager(
     
         // Either we're storing bytes and we asynchronously started 
replication, or we're storing
         // values and need to serialize and replicate them now:
    -    if (putLevel.replication > 1) {
    +    // Should not replicate the block if putBlockStatus is 
StorageLevel.NONE
    --- End diff --
    
    // Should not replicate the block if its StorageLevel is StorageLevel.NONE 
or putting it to local is failed
    is better.


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