JNI error

36 views
Skip to first unread message

Tan Suan Khai

unread,
Jul 18, 2017, 4:40:21 AM7/18/17
to deepdive-users
Hi all. I encountered this error when I was following the deepdive tutorial and am currently stuck at 1.2: Adding NLP markups.

This is what I saw on the terminal (partial):

2017-07-18 23:02:18.546344 CREATE TABLE
2017-07-18 23:02:18.850463 CREATE TABLE
2017-07-18 23:02:18.983635 unloading to feed_processes-1: ' SELECT R0.id AS "articles.R0.id", R0.content AS "articles.R0.content"
2017-07-18 23:02:18.983739 FROM articles R0
2017-07-18 23:02:18.983775        
2017-07-18 23:02:18.983806           '
2017-07-18 23:02:19.101168 Loading dd_tmp_sentences from output_computed-1 (tsv format)
2017-07-18 23:02:19.510766 Error: A JNI error has occurred, please check your installation and try again
2017-07-18 23:02:19.512456 Exception in thread "main" java.lang.NoClassDefFoundError: scala/collection/Iterator
2017-07-18 23:02:19.512748     at java.lang.Class.getDeclaredMethods0(Native Method)
2017-07-18 23:02:19.512972     at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
2017-07-18 23:02:19.518262     at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
2017-07-18 23:02:19.518463     at java.lang.Class.getMethod0(Class.java:3018)
2017-07-18 23:02:19.518640     at java.lang.Class.getMethod(Class.java:1784)
2017-07-18 23:02:19.518821     at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
2017-07-18 23:02:19.518999     at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
2017-07-18 23:02:19.519264 Caused by: java.lang.ClassNotFoundException: scala.collection.Iterator
2017-07-18 23:02:19.519419     at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
2017-07-18 23:02:19.519662     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
2017-07-18 23:02:19.521697     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
2017-07-18 23:02:19.545692 /home/weiya/local/util/compute-driver/local/compute-execute: line 140: kill: (2933) - No such process
loading dd_tmp_sentences: 0:00:00    0 B [   0 B/s] ([   0 B/s])
unloading: 0:00:00   55  [  99 /s] ([  99 /s])

loading dd_tmp_sentences: 0:00:00    0  [   0 /s] ([   0 /s])
2017-07-18 23:02:19.554084 COPY 0
2017-07-18 23:02:19.559316 [ERROR] command='"$DEEPDIVE_APP"/udf/nlp_markup.sh': PID 2933: finished with non-zero exit status (0)
2017-07-18 23:02:19.560670 /home/weiya/local/util/compute-driver/local/compute-execute: line 138:  2937 Terminated              mkmimo process-*.output \> output_computed-*
2017-07-18 23:02:19.560714 /home/weiya/local/util/compute-driver/local/compute-execute: line 138:  2938 Terminated              deepdive-load "$output_relation_tmp" output_computed-*
2017-07-18 23:02:19.560740 /home/weiya/local/util/compute-driver/local/compute-execute: line 138:  2944 Terminated              deepdive-db unload "$input_sql" "$DEEPDIVE_LOAD_FORMAT" feed_processes-*
‘run/ABORTED’ -> ‘20170718/230127.533409745’

Does anyone know the issue?
Reply all
Reply to author
Forward
0 new messages