Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Review Request 14327: HIVE-5230: Better error reporting by async threads in HiveServer2


Copy link to this message
-
Review Request 14327: HIVE-5230: Better error reporting by async threads in HiveServer2

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/14327/
-----------------------------------------------------------

Review request for hive and Thejas Nair.
Bugs: HIVE-5230
    https://issues.apache.org/jira/browse/HIVE-5230
Repository: hive-git
Description
-------

- Use Callable interface to submit background so that it can throw exception
- save the background exception and check the status subsequent client requests.
Diffs
-----

  service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java bb0f711
  service/src/java/org/apache/hive/service/cli/session/SessionManager.java f392d62
  service/src/test/org/apache/hive/service/cli/CLIServiceTest.java a682c63

Diff: https://reviews.apache.org/r/14327/diff/
Testing
-------

updated the testExecuteStatementAsync test to verify error sqlstate
Thanks,

Prasad Mujumdar