AV created ZEPPELIN-3859:
----------------------------

             Summary: java.lang.ClassNotFoundException: 
org.apache.zeppelin.shell.ShellInterpreter
                 Key: ZEPPELIN-3859
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3859
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters
    Affects Versions: 0.8.0
         Environment: zeppelin-0.8.0-bin-netinst

spark standalone spark-2.3.2-bin-hadoop2.7, master is running on the same host. 
A slave worker is in charge

md interpreter works, executed some scala example code successfully.

openjdk version "1.8.0_181"

debian stretch x64
            Reporter: AV


Whenever I try to run a paragraph using the %sh interpreter, e.g.

{{%sh}}{{ls -lR}}

I get the following error:

{{org.apache.thrift.TApplicationException: Internal error processing 
createInterpreter at 
org.apache.thrift.TApplicationException.read(TApplicationException.java:111) at 
org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:71) at 
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.recv_createInterpreter(RemoteInterpreterService.java:209)
 at 
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.createInterpreter(RemoteInterpreterService.java:192)
 at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter$2.call(RemoteInterpreter.java:169)
 at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter$2.call(RemoteInterpreter.java:165)
 at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:135)
 at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:165)
 at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:132)
 at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:299)
 at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:407) at 
org.apache.zeppelin.scheduler.Job.run(Job.java:188) at 
org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:307)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at 
java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
 at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
at java.lang.Thread.run(Thread.java:748)}}

 

Log file entries are also made:

 

logs/zeppelin-interpreter-sh.log

{{ INFO [2018-11-11 14:54:10,254] (\{main} 
RemoteInterpreterServer.java[main]:260) - 
URL:jar:file:/srv/zeppelin-0.8.0-bin-netinst/lib/interpreter/zeppelin-interpreter-0.8.0.jar!/org/apache/zeppelin/interpreter/remote/RemoteInterpreterServer.class}}
{{ INFO [2018-11-11 14:54:10,408] (\{main} 
RemoteInterpreterServer.java[<init>]:161) - Launching ThriftServer at 
192.168.1.150: 36017}}
{{ INFO [2018-11-11 14:54:10,424] (\{main} 
RemoteInterpreterServer.java[<init>]:165) - Starting remote interpreter server 
on port 36017}}
{{ INFO [2018-11-11 14:54:10,428] (\{Thread-0} 
RemoteInterpreterServer.java[run]:202) - Starting remote interpreter server on 
port 36017}}
{{ INFO [2018-11-11 14:54:11,453] (\{Thread-1} 
RemoteInterpreterUtils.java[registerInterpreter]:165) - callbackHost: 
192.168.1.150, callbackPort: 42879, callbackInfo: CallbackInfo(host:192.}}
{{168.1.150, port:36017)}}{{ERROR [2018-11-11 14:54:11,901] (\{pool-1-thread-1} 
RemoteInterpreterServer.java[createInterpreter]:318) - 
java.lang.ClassNotFoundException: org.apache.zeppelin.shell.ShellInterpreter}}
{{java.lang.ClassNotFoundException: org.apache.zeppelin.shell.Sh}}
{{ellInterpreter}}
{{ at java.net.URLClassLoader.findClass(URLClassLoader.ja}}
{{va:382)}}
{{ at java.lang.ClassLoader.loadClass(ClassLoader.java:42}}
{{4)}}
{{ at sun.misc.Launcher$AppClassLoader.loadClass(Launcher}}
{{.java:349)}}
{{ at java.lang.ClassLoader.loadClass(ClassLoader.java:35}}
{{7)}}{{at java.lang.Class.forName0(Native Method)}}
{{ at java.lang.Class.forName(Class.java:264)}}
{{ at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.createInterpreter(RemoteInterpreterServer.java:301)}}
{{ at 
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$createInterpreter.getResult(RemoteInterpreterService.java:1799)}}
{{ at 
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$createInterpreter.getResult(RemoteInterpreterService.java:1784)}}
{{ at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)}}
{{ at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)}}
{{ at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)}}
{{ at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)}}
{{ at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)}}{{at
 java.lang.Thread.run(Thread.java:748)}}
{{Caused by: java.lang.ClassNotFoundException: 
org.apache.zeppelin.shell.ShellInterpreter}}
{{ at java.net.URLClassLoader.findClass(URLClassLoader.java:382)}}
{{ at java.lang.ClassLoader.loadClass(ClassLoader.java:424)}}
{{ at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)}}
{{ at java.lang.ClassLoader.loadClass(ClassLoader.java:357)}}
{{ at java.lang.Class.forName0(Native Method)}}
{{ at java.lang.Class.forName(Class.java:264)}}
{{ at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.createInterpreter(RemoteInterpreterServer.java:301)}}
{{ ... 8 more}}

 

logs/zeppelin.log

{{WARN [2018-11-11 14:54:55,944] (\{pool-2-thread-3} 
NotebookServer.java[afterStatusChange]:2302) - Job 20181111-143404_401423}}
{{93 is finished, status: ERROR, exception: null, result: %text }}
{{<console>:23: error: object shell is not a member of package 
org.apache.zeppelin}}
{{ import org.apache.zeppelin.shell.ShellInterpreter}}

 

Maybe its a configuration issue, but the interpreter is installed and the sh 
entry shows up in the web gui.

{{$> jar -tf interpreter/shell/zeppelin-shell-0.8.0.jar | grep 
ShellInterpreter}}

returns


{{org/apache/zeppelin/shell/ShellInterpreter.class}}

 

Any ideas?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to