[ 
https://issues.apache.org/jira/browse/SPARK-19924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967142#comment-15967142
 ] 

Apache Spark commented on SPARK-19924:
--------------------------------------

User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/17627

> 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.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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to