wyp created LIVY-608:
------------------------
Summary: 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
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)