You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Felix Cheung (JIRA)" <ji...@apache.org> on 2015/09/06 22:00:46 UTC

[jira] [Created] (ZEPPELIN-283) IllegalArgumentException when running Zeppelin on provided Spark 1.5.0 snapshot build

Felix Cheung created ZEPPELIN-283:
-------------------------------------

             Summary: IllegalArgumentException when running Zeppelin on provided Spark 1.5.0 snapshot build
                 Key: ZEPPELIN-283
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-283
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters
    Affects Versions: 0.6.0
            Reporter: Felix Cheung
            Assignee: Felix Cheung
            Priority: Blocker


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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)