[ 
https://issues.apache.org/jira/browse/LIVY-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

weiwenda updated LIVY-688:
--------------------------
    Description: 
SparkSession maybe failed when initialize ExternalCatalog at sometime. As 
SparkSession call _SharedState.reflect_ to instance an ExternalCatalog, any 
exception happened during this process will wrapped by 
InvocationTargetException.

IllegalArgumentException
  └──InvocationTargetException
             └──the indeed Exception
At last, org.apache.livy.rsc.Utils.stackTraceAsString only keep 
IllegalArgumentException's 

> Error message of LivyClient only keep outer stackTrace but discard cause's 
> stackTrace
> -------------------------------------------------------------------------------------
>
>                 Key: LIVY-688
>                 URL: https://issues.apache.org/jira/browse/LIVY-688
>             Project: Livy
>          Issue Type: Improvement
>          Components: RSC
>    Affects Versions: 0.6.0
>            Reporter: weiwenda
>            Priority: Trivial
>
> SparkSession maybe failed when initialize ExternalCatalog at sometime. As 
> SparkSession call _SharedState.reflect_ to instance an ExternalCatalog, any 
> exception happened during this process will wrapped by 
> InvocationTargetException.
> IllegalArgumentException
>   └──InvocationTargetException
>              └──the indeed Exception
> At last, org.apache.livy.rsc.Utils.stackTraceAsString only keep 
> IllegalArgumentException's 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to