Xiao Li created SPARK-19924:
-------------------------------
Summary: Handle InvocationTargetException for all Hive Shim
Key: SPARK-19924
URL: https://issues.apache.org/jira/browse/SPARK-19924
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.1.0, 2.0.2
Reporter: Xiao Li
Assignee: Xiao Li
Since we are using shim for most Hive metastore APIs, the exceptions thrown by
the underlying method of Method.invoke() are wrapped by
`InvocationTargetException`. Instead of doing it one by one, we should handle
all of them in the `withClient`. If any of them is missing, the error message
could looks unfriendly.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]