spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Ohprecio (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-7944) Spark-Shell 2.11 1.4.0-RC-03 does not add jars to class path
Date Tue, 16 Jun 2015 19:11:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-7944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14588588#comment-14588588
] 

Vincent Ohprecio commented on SPARK-7944:
-----------------------------------------

just compiled version 1.5.0-SNAPSHOT Using Scala version 2.10.4 from github.
~/dev/spark(master) $build/mvn -DskipTests clean package
[INFO] BUILD SUCCESS ...

~/dev/spark(master) $bin/spark-shell --jars /Users/antigen/Downloads/algebird-core_2.10-0.10.2.jar

Using Scala version 2.10.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_67)
Type in expressions to have them evaluated.
Type :help for more information.
Spark context available as sc.
SQL context available as sqlContext.

scala> import com.twitter.algebird._
import com.twitter.algebird._

> Spark-Shell 2.11 1.4.0-RC-03 does not add jars to class path
> ------------------------------------------------------------
>
>                 Key: SPARK-7944
>                 URL: https://issues.apache.org/jira/browse/SPARK-7944
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Shell
>    Affects Versions: 1.3.1, 1.4.0
>         Environment: scala 2.11
>            Reporter: Alexander Nakos
>            Priority: Critical
>         Attachments: spark_shell_output.txt, spark_shell_output_2.10.txt
>
>
> When I run the spark-shell with the --jars argument and supply a path to a single jar
file, none of the classes in the jar are available in the REPL.
> I have encountered this same behaviour in both 1.3.1 and 1.4.0_RC-03 builds for scala
2.11. I have yet to do a 1.4.0 RC-03 build for scala 2.10, but the contents of the jar are
available in the 1.3.1_2.10 REPL.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message