You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by davies <gi...@git.apache.org> on 2016/06/06 17:05:12 UTC

[GitHub] spark pull request #13107: [SPARK-13850] Force the sorter to Spill when numb...

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

    https://github.com/apache/spark/pull/13107#discussion_r65928165
  
    --- Diff: core/src/main/java/org/apache/spark/shuffle/sort/ShuffleExternalSorter.java ---
    @@ -72,7 +72,11 @@
       private final TaskContext taskContext;
       private final ShuffleWriteMetrics writeMetrics;
     
    -  /** Force this sorter to spill when there are this many elements in memory. For testing only */
    +  /**
    +   * Force this sorter to spill when there are this many elements in memory. This is to workaround
    +   * the issue of timSort failing on large buffer size (SPARK-13850). The default value is
    +   * 1024 * 1024 * 1024 / 8 which allows the maximum size of the pointer array to be 1G.
    --- End diff --
    
    That bug is fixed, could you update the comment (or changing 1G to 8G)?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org