zjffdu edited a comment on pull request #4022:
URL: https://github.com/apache/zeppelin/pull/4022#issuecomment-761529705


   @Reamer  I tried this Dockerfile, basically it works. But for pyspark, it 
still fails. And It looks like grpcio is installed successfully, so ipyspark is 
not enabled. After I run 'python -m pip freeze', I could not find grpcio.
   
   And here's error I see in zeppelin.
   ```
   org.apache.zeppelin.interpreter.InterpreterException: 
org.apache.zeppelin.interpreter.InterpreterException: Fail to bootstrap pyspark
        at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:76)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:836)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:744)
        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.FIFOScheduler.lambda$runJobInScheduler$0(FIFOScheduler.java:42)
        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: org.apache.zeppelin.interpreter.InterpreterException: Fail to 
bootstrap pyspark
        at 
org.apache.zeppelin.spark.PySparkInterpreter.open(PySparkInterpreter.java:105)
        at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
        ... 8 more
   Caused by: java.io.IOException: Fail to run bootstrap script: 
python/zeppelin_pyspark.py
   Traceback (most recent call last):
     File "/tmp/1610786709961-0/zeppelin_python.py", line 152, in <module>
       code = compile(mod, '<stdin>', 'exec')
   TypeError: required field "type_ignores" missing from Module
   
        at 
org.apache.zeppelin.python.PythonInterpreter.bootstrapInterpreter(PythonInterpreter.java:559)
        at 
org.apache.zeppelin.spark.PySparkInterpreter.open(PySparkInterpreter.java:102)
        ... 9 more
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to