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 Luis Dominguez (Jira)" <ji...@apache.org> on 2022/07/15 18:13:00 UTC

[jira] [Created] (ZEPPELIN-5772) Error Class path contains multiple SLF4J version 0.10.1

Jose Luis Dominguez created ZEPPELIN-5772:
---------------------------------------------

             Summary: Error Class path contains multiple SLF4J version 0.10.1
                 Key: ZEPPELIN-5772
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5772
             Project: Zeppelin
          Issue Type: Bug
          Components: interpreter-launcher
    Affects Versions: 0.10.1
            Reporter: Jose Luis Dominguez
             Fix For: 0.8.2


Hello
Install Zeppelin on Windows 10 freshly using the files contained in zeppelin-0.10.1-bin-netinst.
However I have a conflict with the existence of 2 SLF4J files, where multiple links were found in the classpath.


*I have tried to solve this problem with the following procedures:*
1. In pom.xml excluding the 2 files slf4j-log4j12.jar and log4j.jar.
2. In conf zeppelin-env.cmd adding set JAVA = "C:\Program Files\Java\jdk1.8.0_301" and set JAVA_HOME = "%JAVA%"

*The error is presented as:*

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.main(RemoteInterpreterServer.java:305)

    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:438)
    at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:69)
    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.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:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Fail to launch interpreter process:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/bigdata/zeppelin-0.10.1-bin-netinst/interpreter/md/zeppelin-markdown-0.10.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/bigdata/zeppelin-0.10.1-bin-netinst/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.main(RemoteInterpreterServer.java:305)

    at org.apache.zeppelin.interpreter.remote.ExecRemoteInterpreterProcess.start(ExecRemoteInterpreterProcess.java:97)
    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)
    ... 13 more

 

I would appreciate your support in guiding me on how to find a solution, please.



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