GitHub user CrazyJvm opened a pull request:
https://github.com/apache/spark/pull/2031
add spark.shuffle.spill.batchSize and fix the value of spark.shuffle.manager
```scala
private val serializerBatchSize =
sparkConf.getLong("spark.shuffle.spill.batchSize", 10000)
```
add `spark.shuffle.spill.batchSize` to doc.
And according to
```scala
// Let the user specify short names for shuffle managers
val shortShuffleMgrNames = Map(
"hash" -> "org.apache.spark.shuffle.hash.HashShuffleManager",
"sort" -> "org.apache.spark.shuffle.sort.SortShuffleManager")
val shuffleMgrName = conf.get("spark.shuffle.manager", "hash")
```
value should be "hash" and "sort" rather than "HASH" and "SORT"
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CrazyJvm/spark conf-spill-batchSize
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2031.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 #2031
----
commit 49b47f04150d7c6fd428631228fa1428a2978e9d
Author: CrazyJvm <[email protected]>
Date: 2014-08-19T07:59:36Z
add configuration `spark.shuffle.spill.batchSize` and fix the value of
spark.shuffle.manager
----
---
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]