spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sital Kedia (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-15958) Make initial buffer size for the Sorter configurable
Date Wed, 15 Jun 2016 00:56:34 GMT
Sital Kedia created SPARK-15958:
-----------------------------------

             Summary: Make initial buffer size for the Sorter configurable
                 Key: SPARK-15958
                 URL: https://issues.apache.org/jira/browse/SPARK-15958
             Project: Spark
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Sital Kedia


Currently the initial buffer size in the sorter is hard coded inside the code (https://github.com/apache/spark/blob/master/sql/catalyst/src/main/java/org/apache/spark/sql/execution/UnsafeExternalRowSorter.java#L88)
and is too small for large workload. As a result, the sorter spends significant time expanding
the buffer size and copying the data. It would be useful to have it configurable. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message