You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Arnaud Nauwynck (Jira)" <ji...@apache.org> on 2022/09/17 06:42:00 UTC

[jira] [Created] (ZEPPELIN-5822) Failed to run interpreter on Windows... can not execute "interpreter.cmd": not a valid Win32 .exe application, need to call "cmd.exe"

Arnaud Nauwynck created ZEPPELIN-5822:
-----------------------------------------

             Summary: Failed to run interpreter on Windows... can not execute "interpreter.cmd": not a valid Win32 .exe application, need to call "cmd.exe"
                 Key: ZEPPELIN-5822
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5822
             Project: Zeppelin
          Issue Type: Bug
            Reporter: Arnaud Nauwynck


on windows, can not run an interpreter (for example spark local)


{noformat}
java.io.IOException: Cannot run program "C:\apps\zeppelin\bin\interpreter.cmd" (in directory "."): CreateProcess error=5
        at org.apache.commons.exec.DefaultExecutor$1.run(DefaultExecutor.java:205)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Cannot run program "C:\apps\zeppelin\bin\interpreter.cmd" (in directory "."): CreateProcess error=5
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
        at java.lang.Runtime.exec(Runtime.java:621)
        at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:61)
        at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:279)
        at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:336)
        at org.apache.commons.exec.DefaultExecutor.access$200(DefaultExecutor.java:48)
        at org.apache.commons.exec.DefaultExecutor$1.run(DefaultExecutor.java:200)
        ... 1 more
Caused by: java.io.IOException: CreateProcess error=5
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(ProcessImpl.java:444)
        at java.lang.ProcessImpl.start(ProcessImpl.java:139)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
        ... 7 more

        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:429)
{noformat}


This is similar root-cause to issue ZEPPELIN-5817.
Notice that issue 5817 needed to be patched before this error step.






--
This message was sent by Atlassian Jira
(v8.20.10#820010)