Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-5201

interpreter.sh does not pick up JAVA_HOME and JDK from zeppelin-env.sh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 0.9.0
    • None
    • interpreter-launcher
    • None

    Description

      I've installed 0.9 binary (all interpreter package) as per instructions on https://zeppelin.apache.org/docs/0.9.0/quickstart/install.html, the UI starts without problems, but I cannot run any kind of interpreter.

      e.g., running the following Java HelloWorld results in the errors below: 

      org.apache.zeppelin.interpreter.InterpreterException: java.io.IOException: Fail to launch interpreter process:
      Apache Zeppelin requires either Java 8 update 151 or newer
      
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:129)
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:271)
      	at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:444)
      	at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:72)
      	at org.apache.zeppelin.scheduler.Job.run(Job.java:172)
      	at org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:132)
      	at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:182)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.io.IOException: Fail to launch interpreter process:
      Apache Zeppelin requires either Java 8 update 151 or newer
      
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess.start(RemoteInterpreterManagedProcess.java:126)
      	at org.apache.zeppelin.interpreter.ManagedInterpreterGroup.getOrCreateInterpreterProcess(ManagedInterpreterGroup.java:68)
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getOrCreateInterpreterProcess(RemoteInterpreter.java:104)
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:154)
      	at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:126)
      	... 12 more
      

      There are no further interpreter log files (other then the main server logs) in the logs directory

      Attachments

        1. 2021-01-14_170017.png
          28 kB
          Armin Müller

        Activity

          People

            Unassigned Unassigned
            amueller Armin Müller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: