GitHub user DoingDone9 opened a pull request:
https://github.com/apache/spark/pull/13130
[SPARK-15340][SQL]Limit the size of the map used to cache JobConfs to void
OOM
# What changes were proposed in this pull request?
limit the size of the map used to cache JobConfs in SparkEnv.scala
# How was this patch tested?
Run tpcds(orc), the num of JobConf in dump file < 1000 and OOM not happened
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/DoingDone9/spark LimitNumOfMap
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13130.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 #13130
----
commit 6bba37cba181169d619c5defb127ad01c8cc944c
Author: Zhongshuai Pei <[email protected]>
Date: 2015-12-08T09:21:13Z
Merge pull request #1 from apache/master
pull
commit 1604d256741c5e21cff35fb1e1fc2ac69969b7bc
Author: Zhongshuai Pei <[email protected]>
Date: 2016-04-21T03:09:26Z
Merge pull request #2 from apache/master
pull
commit 0bde0b84dde93886e3bfd3fb9ae6a323c520807c
Author: Zhongshuai Pei <[email protected]>
Date: 2016-05-11T08:37:04Z
Merge pull request #3 from apache/master
pull
commit 29903c983fd18a0c41af422e9db3c445b08017bd
Author: Zhongshuai Pei <[email protected]>
Date: 2016-05-11T08:41:42Z
Limit the number of Map used for caching
commit 82d78a36161167c76aebf313ce9541ce51989948
Author: Zhongshuai Pei <[email protected]>
Date: 2016-05-16T08:45:55Z
Update HadoopRDD.scala
----
---
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]