You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "wyp (JIRA)" <ji...@apache.org> on 2019/07/18 04:04:00 UTC

[jira] [Closed] (LIVY-608) When Spark table contains date column Livy will throw NoClassDefFoundError

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

wyp closed LIVY-608.
--------------------
    Resolution: Not A Bug

> When Spark table contains date column Livy will throw NoClassDefFoundError
> --------------------------------------------------------------------------
>
>                 Key: LIVY-608
>                 URL: https://issues.apache.org/jira/browse/LIVY-608
>             Project: Livy
>          Issue Type: Bug
>          Components: REPL
>    Affects Versions: 0.6.0
>            Reporter: wyp
>            Priority: Minor
>
> My Spark table creation statement is as follows
> {code:java}
> create table test(
>  id bigint,
>  times date
> );
> {code}
> when we use livy to select data from test, there will throw java.lang.NoClassDefFoundError:
> {code:java}
> curl -H "Content-Type:application/json" -X POST -d '{"code":"select * from test", "kind":"sql"}' 127.0.0.1:8998/sessions/1/statements
> {"id":1,"code":"select * from test","state":"waiting","output":null,"progress":0.0}
> curl 127.0.0.1:8998/sessions/1/statements/1
> {"id":1,"code":"select * from test","state":"available","output":{"status":"error","execution_count":1,"ename":"Internal Error: java.lang.NoClassDefFoundError","evalue":"org/apache/livy/shaded/json4s/scalap/scalasig/SymbolInfoSymbol","traceback":[]},"progress":1.0}
> {code}
> because livy repl model need json4s_scalap library, but we did not provide.
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)