[
https://issues.apache.org/jira/browse/SPARK-19924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan updated SPARK-19924:
--------------------------------
Fix Version/s: 2.1.1
> 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.0.2, 2.1.0
> Reporter: Xiao Li
> Assignee: Xiao Li
> Fix For: 2.1.1, 2.2.0
>
>
> 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]