GitHub user viirya opened a pull request:

    https://github.com/apache/spark/pull/9067

    Use mixing hash-based and sort-based aggregation in 
TungstenAggregationIterator

    JIRA: https://issues.apache.org/jira/browse/SPARK-11055
    
    In TungstenAggregationIterator we switch to sort-based aggregation when we 
can't allocate more memory for hashmap.
    
    However, using external sorter-based aggregation will write too much 
key-value pairs into disk. We should use mixing hash-based and sort-based 
aggregation to reduce the key-value pairs needed to write to disk.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/viirya/spark-1 sort-and-hash-tungsten-iterator

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/9067.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #9067
    
----
commit dd98d574c42c520f260404af7b53af9f64cad20b
Author: Liang-Chi Hsieh <[email protected]>
Date:   2015-10-11T18:07:26Z

    Use mixing hash-based and sort-based aggregation in 
TungstenAggregationIterator.

----


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