Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-5772

Error Class path contains multiple SLF4J version 0.10.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.10.1
    • 0.8.2
    • interpreter-launcher
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdominguez Jose Luis Dominguez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: