GitHub user srowen opened a pull request: https://github.com/apache/spark/pull/17567
[SPARK-19991][CORE][YARN] FileSegmentManagedBuffer performance improvement ## What changes were proposed in this pull request? Avoid `NoSuchElementException` every time `ConfigProvider.get(val, default)` falls back to default. This apparently causes non-trivial overhead in at least one path, and can easily be avoided. See https://github.com/apache/spark/pull/17329 ## How was this patch tested? Existing tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/srowen/spark SPARK-19991 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/17567.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 #17567 ---- commit 3828d03caea6326659c33b37b599081d69ba8106 Author: Sean Owen <so...@cloudera.com> Date: 2017-04-07T16:53:01Z Avoid NoSuchElementException every time ConfigProvider.get(val, default) falls back to default ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org