[jira] [Updated] (SPARK-7944) Spark-Shell 2.11 1.4.0-RC-03 does not add jars to class path

2015-05-29 Thread Alexander Nakos (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-7944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Nakos updated SPARK-7944:
---
Attachment: spark_shell_output_2.10.txt

> 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
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-7944) Spark-Shell 2.11 1.4.0-RC-03 does not add jars to class path

2015-05-29 Thread Alexander Nakos (JIRA)

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

Alexander Nakos commented on SPARK-7944:


I have built 1.4.0-RC03 for scala 2.10 and can confirm that the contents of the 
jar file are available in the REPL when supplied the same way on the command 
line. I've attached the console output to this issue.

> 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
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-7944) Spark-Shell 2.11 1.4.0-RC-03 does not add jars to class path

2015-05-29 Thread Alexander Nakos (JIRA)

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

Alexander Nakos commented on SPARK-7944:


Yes, the file definitely exists locally. I have not built the 1.4.0-RC for 2.10 
since 2.11 is our target scala version

In the past few months, I have built the 1.3.0 and 1.3.1 releases for both 
scala 2.10 and 2.11 and can confirm that I was able to load jars in the 2.10 
REPL but encountered the same problems I'm citing here with the 2.11 REPL.

If you want I can try to build 1.4.0-RC03, target 2.10 and report back in a few 
hours.

> 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
> Attachments: spark_shell_output.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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Comment Edited] (SPARK-7944) Spark-Shell 2.11 1.4.0-RC-03 does not add jars to class path

2015-05-29 Thread Alexander Nakos (JIRA)

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

Alexander Nakos edited comment on SPARK-7944 at 5/29/15 12:26 PM:
--

Surely - sorry about that.  I started up the shell as follows:

{code}
bin/spark-shell --master yarn-client --jars 
/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar
{code}

There was no obvious error present in the shell output. When I got the scala 
prompt from the console, I tried to import some classes and got the following 
error:

{code}
scala> import com.twitter.algebird._
:20: error: object algebird is not a member of package com.twitter
   import com.twitter.algebird._
{code}

Trying to manually add the jar to the class path also proved to be fruitless:

{code}
scala> :cp 
/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar
Added 
'/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar'.
  Your new classpath is:
".:/opt/spark/spark-1.4.0-RC3-hadoop2.3:/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar"
Nothing to replay.

scala> import com.twitter.algebird._
:8: error: object algebird is not a member of package com.twitter
   import com.twitter.algebird._
  ^
{code}

I've attached the output on shell startup to the issue as well.


was (Author: ana...@gmail.com):
Surely - sorry about that.  I started up the shell as follows:

{code}
bin/spark-shell --master yarn-client --jars 
/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar
{code}

There was no obvious error present in the shell output. When I got the scala 
prompt from the console, I tried to import some classes and got the following 
error:

{code}
scala> import com.twitter.algebird._
:20: error: object algebird is not a member of package com.twitter
   import com.twitter.algebird._
{code}

Trying to manually add the jar to the class path also proved to be fruitless:

{code}
scala> :cp 
/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar
Added 
'/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar'.
  Your new classpath is:
".:/opt/spark/spark-1.4.0-RC3-hadoop2.3:/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar"
Nothing to replay.

scala> import com.twitter.algebird._
:8: error: object algebird is not a member of package com.twitter
   import com.twitter.algebird._
  ^
{code}


> 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
> Attachments: spark_shell_output.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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-7944) Spark-Shell 2.11 1.4.0-RC-03 does not add jars to class path

2015-05-29 Thread Alexander Nakos (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-7944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Nakos updated SPARK-7944:
---
Attachment: spark_shell_output.txt

> 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
> Attachments: spark_shell_output.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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Comment Edited] (SPARK-7944) Spark-Shell 2.11 1.4.0-RC-03 does not add jars to class path

2015-05-29 Thread Alexander Nakos (JIRA)

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

Alexander Nakos edited comment on SPARK-7944 at 5/29/15 12:23 PM:
--

Surely - sorry about that.  I started up the shell as follows:

{code}
bin/spark-shell --master yarn-client --jars 
/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar
{code}

There was no obvious error present in the shell output. When I got the scala 
prompt from the console, I tried to import some classes and got the following 
error:

{code}
scala> import com.twitter.algebird._
:20: error: object algebird is not a member of package com.twitter
   import com.twitter.algebird._
{code}

Trying to manually add the jar to the class path also proved to be fruitless:

{code}
scala> :cp 
/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar
Added 
'/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar'.
  Your new classpath is:
".:/opt/spark/spark-1.4.0-RC3-hadoop2.3:/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar"
Nothing to replay.

scala> import com.twitter.algebird._
:8: error: object algebird is not a member of package com.twitter
   import com.twitter.algebird._
  ^
{code}



was (Author: ana...@gmail.com):
Surely - sorry about that.  I started up the shell as follows:

{code}
bin/spark-shell --master yarn-client --jars 
/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar
{code}

There was no obvious error present in the shell output. When I got the scala 
prompt from the console, I tried to import some classes and got the following 
error:

{code}
scala> import com.twitter.algebird._
:20: error: object algebird is not a member of package com.twitter
   import com.twitter.algebird._
{code}



> 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
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-7944) Spark-Shell 2.11 1.4.0-RC-03 does not add jars to class path

2015-05-29 Thread Alexander Nakos (JIRA)

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

Alexander Nakos commented on SPARK-7944:


Surely - sorry about that.  I started up the shell as follows:

{code}
bin/spark-shell --master yarn-client --jars 
/Users/alex/.m2/repository/com/twitter/algebird-core_2.11/0.9.0/algebird-core_2.11-0.9.0.jar
{code}

There was no obvious error present in the shell output. When I got the scala 
prompt from the console, I tried to import some classes and got the following 
error:

{code}
scala> import com.twitter.algebird._
:20: error: object algebird is not a member of package com.twitter
   import com.twitter.algebird._
{code}



> 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
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Created] (SPARK-7944) Spark-Shell 2.11 1.4.0-RC-03 does not add jars to class path

2015-05-29 Thread Alexander Nakos (JIRA)
Alexander Nakos created SPARK-7944:
--

 Summary: 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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org