You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Siegfried Lösch <si...@gmail.com> on 2024/03/05 09:42:23 UTC

Fail to setup JVMGateway

Hello all,

currently I am carring out the zeppelin IPython tutorial and had to 
firstly downgrade protobuf to version 3.20.3 inside my python 3.9 
environment. It was not clear for me to use python 3.9 but found some 
statements that let conlude me 3.9 as maximum version for now.

In step 5, titled "Get Python Help(1)" another exception showed up:

===========

org.apache.zeppelin.interpreter.InterpreterException: 
org.apache.zeppelin.interpreter.InterpreterException: 
java.io.IOException: Fail to setup JVMGateway

     at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:76)
     at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:861)
     at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:769)
     at org.apache.zeppelin.scheduler.Job.run(Job.java:186)
     at 
org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:135)
     at 
org.apache.zeppelin.scheduler.FIFOScheduler.lambda$runJobInScheduler$0(FIFOScheduler.java:42)
     at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
     at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
     at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.apache.zeppelin.interpreter.InterpreterException: 
java.io.IOException: Fail to setup JVMGateway

     at 
org.apache.zeppelin.python.IPythonInterpreter.open(IPythonInterpreter.java:124)
     at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
     ... 8 more
Caused by: java.io.IOException: Fail to setup JVMGateway

     at 
org.apache.zeppelin.python.IPythonInterpreter.initPythonInterpreter(IPythonInterpreter.java:143)
     at 
org.apache.zeppelin.python.IPythonInterpreter.open(IPythonInterpreter.java:121)
     ... 9 more

===========

I looked a bit inside the code to check if this is coming from zeppelin 
which seems to be so but also have to say not beeing a java export. 
Therfore I kindly ask for some help to get above issue solved.

Best regards

Siegfried


Re: Fail to setup JVMGateway

Posted by Jeff Zhang <zj...@gmail.com>.
Could you help check the details in the interpreter log?

On Tue, Mar 5, 2024 at 5:44 PM Siegfried Lösch <si...@gmail.com>
wrote:

> Hello all,
>
> currently I am carring out the zeppelin IPython tutorial and had to
> firstly downgrade protobuf to version 3.20.3 inside my python 3.9
> environment. It was not clear for me to use python 3.9 but found some
> statements that let conlude me 3.9 as maximum version for now.
>
> In step 5, titled "Get Python Help(1)" another exception showed up:
>
> ===========
>
> org.apache.zeppelin.interpreter.InterpreterException:
> org.apache.zeppelin.interpreter.InterpreterException:
> java.io.IOException: Fail to setup JVMGateway
>
>      at
>
> org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:76)
>      at
>
> org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:861)
>      at
>
> org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:769)
>      at org.apache.zeppelin.scheduler.Job.run(Job.java:186)
>      at
>
> org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:135)
>      at
>
> org.apache.zeppelin.scheduler.FIFOScheduler.lambda$runJobInScheduler$0(FIFOScheduler.java:42)
>      at
>
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
>      at
>
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>      at java.base/java.lang.Thread.run(Thread.java:840)
> Caused by: org.apache.zeppelin.interpreter.InterpreterException:
> java.io.IOException: Fail to setup JVMGateway
>
>      at
>
> org.apache.zeppelin.python.IPythonInterpreter.open(IPythonInterpreter.java:124)
>      at
>
> org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
>      ... 8 more
> Caused by: java.io.IOException: Fail to setup JVMGateway
>
>      at
>
> org.apache.zeppelin.python.IPythonInterpreter.initPythonInterpreter(IPythonInterpreter.java:143)
>      at
>
> org.apache.zeppelin.python.IPythonInterpreter.open(IPythonInterpreter.java:121)
>      ... 9 more
>
> ===========
>
> I looked a bit inside the code to check if this is coming from zeppelin
> which seems to be so but also have to say not beeing a java export.
> Therfore I kindly ask for some help to get above issue solved.
>
> Best regards
>
> Siegfried
>
>

-- 
Best Regards

Jeff Zhang