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

    https://github.com/apache/spark/pull/6648#discussion_r35326354
  
    --- Diff: 
core/src/main/java/org/apache/spark/shuffle/unsafe/UnsafeShuffleWriter.java ---
    @@ -125,6 +129,7 @@ public UnsafeShuffleWriter(
         
taskContext.taskMetrics().shuffleWriteMetrics_$eq(Option.apply(writeMetrics));
         this.taskContext = taskContext;
         this.sparkConf = sparkConf;
    +    this.allowSpillMove = 
sparkConf.getBoolean("spark.shuffle.unsafe.testing.allowSpillMove", true);
    --- End diff --
    
    this is kinda ugly, its just so I can test the different paths through this 
code without requiring a really complicated example.  Open to other suggestions.


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