You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "phongnt (via GitHub)" <gi...@apache.org> on 2023/02/27 03:50:33 UTC

[GitHub] [zeppelin] phongnt opened a new pull request, #4570: [ZEPPELIN-5881] Missing dependency when package zeppelin-server module

phongnt opened a new pull request, #4570:
URL: https://github.com/apache/zeppelin/pull/4570

   ### What is this PR for?
   Fixed maven build failed on module `zeppelin-server` with profile `hadoop3`.
   
   ### What type of PR is it?
   Bug Fix
   
   ### Todos
   * [ ] Run maven build after fixed
   
   ### What is the Jira issue?
   * ZEPPELIN-5881
   
   ### How should this be tested?
   * Try to build module zeppelin-server by command
   `./mvnw -B -pl 'zeppelin-server,zeppelin-zengine,zeppelin-common,zeppelin-interpreter,zeppelin-jupyter' clean package -DskipTests -Pbuild-distr -Pinclude-hadoop -Phadoop3 -Pweb-angular`
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] phongnt commented on pull request #4570: [ZEPPELIN-5881] Missing dependency when package zeppelin-server module

Posted by "phongnt (via GitHub)" <gi...@apache.org>.
phongnt commented on PR #4570:
URL: https://github.com/apache/zeppelin/pull/4570#issuecomment-1447926387

   @cometta Base on your error message, I think your Python Interpreter have problem as your installed Python package on your server (k8s). Could you please share your Python Interpreter setting. And how do you install Python 3.8 and which packages do you installed? Thanks.


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] Reamer merged pull request #4570: [ZEPPELIN-5881] Missing dependency when package zeppelin-server module

Posted by "Reamer (via GitHub)" <gi...@apache.org>.
Reamer merged PR #4570:
URL: https://github.com/apache/zeppelin/pull/4570


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] cometta commented on pull request #4570: [ZEPPELIN-5881] Missing dependency when package zeppelin-server module

Posted by "cometta (via GitHub)" <gi...@apache.org>.
cometta commented on PR #4570:
URL: https://github.com/apache/zeppelin/pull/4570#issuecomment-1448202540

   i use the master branch to build the docker image. below is python interpreter setting, it is the default one
   
   ![image](https://user-images.githubusercontent.com/187495/221871655-b83a5280-8516-42ad-9940-7f0b4790c44c.png)
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] cometta commented on pull request #4570: [ZEPPELIN-5881] Missing dependency when package zeppelin-server module

Posted by "cometta (via GitHub)" <gi...@apache.org>.
cometta commented on PR #4570:
URL: https://github.com/apache/zeppelin/pull/4570#issuecomment-1449479976

   i retest again, the python error no longer occurs after i clear the browser cache. issue resolved. just take note that to use spark 3.3,  on pom.xml , change the line   <hadoop3.2.version>3.3.2</hadoop3.2.version>  when using spark 3.3.0 . can proceed to merge


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] phongnt commented on pull request #4570: [ZEPPELIN-5881] Missing dependency when package zeppelin-server module

Posted by "phongnt (via GitHub)" <gi...@apache.org>.
phongnt commented on PR #4570:
URL: https://github.com/apache/zeppelin/pull/4570#issuecomment-1447567707

   @cometta I think Maven command in Dockerfile is not official for distribute docker image.
   I tried to start Zeppelin in docker by `docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.10.0`
   And there is no issue with Python Interpreter:
   <img width="1715" alt="image" src="https://user-images.githubusercontent.com/759326/221755907-a524f542-6d08-4805-a272-89195c5c0670.png">
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] cometta commented on pull request #4570: [ZEPPELIN-5881] Missing dependency when package zeppelin-server module

Posted by "cometta (via GitHub)" <gi...@apache.org>.
cometta commented on PR #4570:
URL: https://github.com/apache/zeppelin/pull/4570#issuecomment-1447899439

   @phongnt , sorry you confused with number of questions i asked. for this issue, only happen in master branch of the repo, not older version of Zeppelin.  To see this issue, you need to rebuild the master branch for spark 3.3 and then run the python cell i mentioned


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] Reamer commented on pull request #4570: [ZEPPELIN-5881] Missing dependency when package zeppelin-server module

Posted by "Reamer (via GitHub)" <gi...@apache.org>.
Reamer commented on PR #4570:
URL: https://github.com/apache/zeppelin/pull/4570#issuecomment-1446266520

   If no further comments are received, I will merge the PullRequest on Wednesday.


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] cometta commented on pull request #4570: [ZEPPELIN-5881] Missing dependency when package zeppelin-server module

Posted by "cometta (via GitHub)" <gi...@apache.org>.
cometta commented on PR #4570:
URL: https://github.com/apache/zeppelin/pull/4570#issuecomment-1446277819

   i able to compile the master branch after your patching, but when i start python notebook example, run below cell
   ```
   %python.ipython
   import sys
   sys?
   ```
   
   i get below error, there is mismatch of python version
   ```
   org.apache.zeppelin.interpreter.InterpreterException: org.apache.zeppelin.interpreter.InterpreterException: Fail to open JupyterKernelInterpreter:
   java.io.IOException: Fail to launch Jupyter Kernel as the python process is failed.
   Traceback (most recent call last):
     File "/tmp/zeppelin_jupyter_kernel_python184007101575930887/kernel_server.py", line 25, in <module>
       import grpc
     File "/opt/conda/lib/pypy3.8/site-packages/grpc/__init__.py", line 22, in <module>
       from grpc import _compression
     File "/opt/conda/lib/pypy3.8/site-packages/grpc/_compression.py", line 15, in <module>
       from grpc._cython import cygrpc
   ImportError: cannot import name 'cygrpc' from 'grpc._cython' (/opt/conda/lib/pypy3.8/site-packages/grpc/_cython/__init__.py)
   
   	at org.apache.zeppelin.jupyter.JupyterKernelInterpreter.launchJupyterKernel(JupyterKernelInterpreter.java:269)
   	at org.apache.zeppelin.jupyter.JupyterKernelInterpreter.open(JupyterKernelInterpreter.java:159)
   	at org.apache.zeppelin.python.IPythonInterpreter.open(IPythonInterpreter.java:117)
   	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
   	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: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:750)
   
   
   ```
   
   can you try reproduce this?


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

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