-
- Downloads
[SPARK-9945] [SQL] pageSize should be calculated from executor.memory
Currently, pageSize of TungstenSort is calculated from driver.memory, it should use executor.memory instead. Also, in the worst case, the safeFactor could be 4 (because of rounding), increase it to 16. cc rxin Author: Davies Liu <davies@databricks.com> Closes #8175 from davies/page_size.
Showing
- core/src/main/scala/org/apache/spark/shuffle/ShuffleMemoryManager.scala 3 additions, 1 deletion...scala/org/apache/spark/shuffle/ShuffleMemoryManager.scala
- sql/core/src/main/scala/org/apache/spark/sql/execution/sort.scala 3 additions, 3 deletions.../src/main/scala/org/apache/spark/sql/execution/sort.scala
Please register or sign in to comment