GitHub user zuotingbing opened a pull request:
https://github.com/apache/spark/pull/18812
[SPARK-21606][SQL]HiveThriftServer2 catches OOMs on request threads
## What changes were proposed in this pull request?
Refer to Hive, ThriftCLIService methods such as ExecuteStatement are
apparently capable of catching OOMs because they get wrapped in RTE by
HiveSessionProxy. I create a PR to fix this bug in Spark also.
## How was this patch tested?
Exist tests and manual tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zuotingbing/spark OOM_HiveThriftServer2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18812.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 #18812
----
commit 759330df5685a6f162d9c9666db03b08148b5ba9
Author: zuotingbing <[email protected]>
Date: 2017-08-02T06:44:08Z
[SPARK-21606][SQL]HiveThriftServer2 catches OOMs on request threads
----
---
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]