You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2017/03/12 08:36:04 UTC

[jira] [Created] (SPARK-19924) Handle InvocationTargetException for all Hive Shim

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