You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Selcuk Korkmaz (JIRA)" <ji...@apache.org> on 2015/08/04 20:13:04 UTC

[jira] [Updated] (SPARK-9605) SparkR installation error: Error: Invalid or corrupt jarfile sbt/sbt-launch-0.13.6.jar

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

Selcuk Korkmaz updated SPARK-9605:
----------------------------------
    Description: 
I am fairly new to Spark! I am trying to install SparkR package. But I am getting following error:

> library(devtools)
> install_github("amplab-extras/SparkR-pkg", subdir="pkg")
Downloading github repo amplab-extras/SparkR-pkg@master
Installing SparkR
Installing dependencies for SparkR:

'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD INSTALL  \
  '/private/var/folders/x_/y8_3xqc130n1q55fwwkmgm000000gn/T/RtmpRH9vkn/devtools1ec15ed080d/amplab-extras-SparkR-pkg-e532627/pkg'  \
  --library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library' --install-tests 

* installing *source* package ‘SparkR’ ...
** libs
** arch - 
./sbt/sbt assembly
Attempting to fetch sbt
######################################################################## 100.0%
Launching sbt from sbt/sbt-launch-0.13.6.jar
Error: Invalid or corrupt jarfile sbt/sbt-launch-0.13.6.jar
make: *** [target/scala-2.10/sparkr-assembly-0.1.jar] Error 1
ERROR: compilation failed for package ‘SparkR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/SparkR’
Error: Command failed (1)
I have installed scala-2.11.7 with following approach.

$ brew update
$ brew install scala
$ brew install sbt

I could not install scala-2.10. Is this the part of the problem.
Thanks!

  was:
I am fairly new to Spark! I am trying to install SparkR package. But I am getting following error:
> library(devtools)
> install_github("amplab-extras/SparkR-pkg", subdir="pkg")
Downloading github repo amplab-extras/SparkR-pkg@master
Installing SparkR
Installing dependencies for SparkR:
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD INSTALL \
'/private/var/folders/x_/y8_3xqc130n1q55fwwkmgm000000gn/T/RtmpRH9vkn/devtools1ec166a2c628/amplab-extras-SparkR-pkg-e532627/pkg' \
--library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library' --install-tests
installing source package 'SparkR' ...
libs
arch -
./sbt/sbt assembly
Attempting to fetch sbt

'SparkR'
removing '/Library/Frameworks/R.framework/Versions/3.1/Resources/library/SparkR'
Error: Command failed (1)
I have installed scala-2.11.7 with following approach.

$ brew update
$ brew install scala
$ brew install sbt

I could not install scala-2.10. Is this the part of the problem.
Thanks!


> SparkR installation error: Error: Invalid or corrupt jarfile sbt/sbt-launch-0.13.6.jar
> --------------------------------------------------------------------------------------
>
>                 Key: SPARK-9605
>                 URL: https://issues.apache.org/jira/browse/SPARK-9605
>             Project: Spark
>          Issue Type: Bug
>         Environment: R version 3.1.2 (2014-10-31)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
> other attached packages:
> [1] devtools_1.6.1 rJava_0.9-7
> loaded via a namespace (and not attached):
> [1] bitops_1.0-6 httr_0.5 magrittr_1.5 RCurl_1.95-4.5 stringi_0.5-5 stringr_1.0.0 tools_3.1.2
>            Reporter: Selcuk Korkmaz
>
> I am fairly new to Spark! I am trying to install SparkR package. But I am getting following error:
> > library(devtools)
> > install_github("amplab-extras/SparkR-pkg", subdir="pkg")
> Downloading github repo amplab-extras/SparkR-pkg@master
> Installing SparkR
> Installing dependencies for SparkR:
> '/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD INSTALL  \
>   '/private/var/folders/x_/y8_3xqc130n1q55fwwkmgm000000gn/T/RtmpRH9vkn/devtools1ec15ed080d/amplab-extras-SparkR-pkg-e532627/pkg'  \
>   --library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library' --install-tests 
> * installing *source* package ‘SparkR’ ...
> ** libs
> ** arch - 
> ./sbt/sbt assembly
> Attempting to fetch sbt
> ######################################################################## 100.0%
> Launching sbt from sbt/sbt-launch-0.13.6.jar
> Error: Invalid or corrupt jarfile sbt/sbt-launch-0.13.6.jar
> make: *** [target/scala-2.10/sparkr-assembly-0.1.jar] Error 1
> ERROR: compilation failed for package ‘SparkR’
> * removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/SparkR’
> Error: Command failed (1)
> I have installed scala-2.11.7 with following approach.
> $ brew update
> $ brew install scala
> $ brew install sbt
> I could not install scala-2.10. Is this the part of the problem.
> Thanks!



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