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

IllegalArgumentException when running Zeppelin on provided Spark 1.5.0 snapshot build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.6.0
    • 0.5.5
    • Interpreters
    • None

    Description

      In the case of a snapshot build, SparkContext.version return a string "1.5.0-SNAPSHOT"

      Welcome to
      ____ __
      / _/_ ___ ____/ /_
      \ \/ _ \/ _ `/ __/ '/
      /__/ ./_,// //_\ version 1.5.0-SNAPSHOT
      /_/

      scala> sc.version
      res0: String = 1.5.0-SNAPSHOT

      SparkVersion helper class is expecting the numeric parts only and thus fails to find a match.

      java.lang.IllegalArgumentException
      at org.apache.zeppelin.spark.SparkVersion.fromVersionString(SparkVersion.java:57)
      at org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:442)
      at org.apache.zeppelin.interpreter.ClassloaderInterpreter.open(ClassloaderInterpreter.java:74)
      at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:68)
      at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:92)
      at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:276)
      at org.apache.zeppelin.scheduler.Job.run(Job.java:170)
      at org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:118)
      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)

      Attachments

        Activity

          People

            felixcheung Felix Cheung
            felixcheung Felix Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: