GitHub user WeichenXu123 opened a pull request:
https://github.com/apache/spark/pull/14922
[WIP][SPARK-17175] Add a expert formula to aggregationDepth of SharedParam
## What changes were proposed in this pull request?
Add a expert formula to aggregationDepth of SharedParam
The proper aggregationDepth depends on the memory setting of driver, the
dimension of problems, and the number of partition, etc.
Now I choose a simple formula when dimension exceed a threshold then set
aggregationDepth to 2 otherwise 1.
I will do more test later on and improve the formula by considering more
parameters.
## How was this patch tested?
Existing test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WeichenXu123/spark
expert_formula_for_treeAggregate
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14922.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 #14922
----
commit 08fcb7c76eef39a3b9075d788365cb11f68c9c04
Author: WeichenXu <[email protected]>
Date: 2016-09-01T01:14:57Z
update.
----
---
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]