You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Jose Humberto Cruvinel (Jira)" <ji...@apache.org> on 2020/10/08 17:33:00 UTC
[jira] [Created] (ZEPPELIN-5086) Error IOException: error=13,
Permission denied with conda commands on python-interpreter
Jose Humberto Cruvinel created ZEPPELIN-5086:
------------------------------------------------
Summary: Error IOException: error=13, Permission denied with conda commands on python-interpreter
Key: ZEPPELIN-5086
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5086
Project: Zeppelin
Issue Type: Bug
Components: python-interpreter
Affects Versions: 0.8.0
Environment: Im using CentOS 7.8 and HDP 3.1.4 with Zeppelin 0.8.0
Reporter: Jose Humberto Cruvinel
After configuring python interpreter, it is running OK.
But when I try to run "*%conda list*" or "*%python.conda list*" or any conda command I get the error:
{code:java}
java.io.IOException: error=13, Permission denied at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) at java.lang.ProcessImpl.start(ProcessImpl.java:134) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) at org.apache.zeppelin.python.PythonCondaInterpreter.runCommand(PythonCondaInterpreter.java:400) at org.apache.zeppelin.python.PythonCondaInterpreter.runCondaCommandForTextOutput(PythonCondaInterpreter.java:180) at org.apache.zeppelin.python.PythonCondaInterpreter.runCondaInfo(PythonCondaInterpreter.java:263) at org.apache.zeppelin.python.PythonCondaInterpreter.interpret(PythonCondaInterpreter.java:108) at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:103) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:633) at org.apache.zeppelin.scheduler.Job.run(Job.java:188) at org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:140) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745){code}
At log file, the error was:
{code:java}
ERROR [2020-10-08 14:10:01,469] ({pool-2-thread-4} Job.java[run]:190) - Job failed
org.apache.zeppelin.interpreter.InterpreterException: java.io.IOException: Cannot run program "conda": error=13, Permission denied
at org.apache.zeppelin.python.PythonCondaInterpreter.interpret(PythonCondaInterpreter.java:114)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:103)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:633)
at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
at org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:140)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Cannot run program "conda": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at org.apache.zeppelin.python.PythonCondaInterpreter.runCommand(PythonCondaInterpreter.java:400)
at org.apache.zeppelin.python.PythonCondaInterpreter.runCommand(PythonCondaInterpreter.java:426)
at org.apache.zeppelin.python.PythonCondaInterpreter.getCondaEnvs(PythonCondaInterpreter.java:197)
at org.apache.zeppelin.python.PythonCondaInterpreter.runCondaEnvList(PythonCondaInterpreter.java:203)
at org.apache.zeppelin.python.PythonCondaInterpreter.interpret(PythonCondaInterpreter.java:81)
... 11 more
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 16 more{code}
I tryed to install Anaconda version *Anaconda3-2020.02-Linux-x86_64.sh* and configured another python interpreter changing the parameter below
|zeppelin.python|/opt/anaconda3/bin/python|
I restarted Zeppelin and create another notebook. Python commands is OK, but conda commands get the same error messages.
The error seems to occur at line 400 of [https://github.com/apache/zeppelin/blob/v0.8.0/python/src/main/java/org/apache/zeppelin/python/PythonCondaInterpreter.java] after try to execute runCondaList() method
Any suggestion? Please help!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)