GitHub user SaintBacchus opened a pull request: https://github.com/apache/spark/pull/7889
[SPARK-8839][SQL]High concurrence will also cause the `key not found` error in HiveThriftServer2 This PR is related to [7239](https://github.com/apache/spark/pull/7239). It's show in a high concurrence scenario. When there are about 500 clients connecting to the server at the same time, the method `onStatementStart` will be executed before `onSessionCreated` at about 10% probability. So it's better to add a wait for the session to build up. You can merge this pull request into a Git repository by running: $ git pull https://github.com/SaintBacchus/spark KeyNotFound Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/7889.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 #7889 ---- commit 25b3c1d568d7b99de956b9f310bb2fb846403fe1 Author: huangzhaowei <carlmartin...@gmail.com> Date: 2015-08-03T06:33:34Z Resolved another reason for SPARK-8839 ---- --- 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