[JIRA] (SPARKR-246) SparkR installation error: Error: Invalid or corrupt jarfile sbt/sbt-launch-0.13.6.jar

146 views
Skip to first unread message

Selcuk Korkmaz (JIRA)

unread,
Aug 7, 2015, 11:47:01 AM8/7/15
to spark...@googlegroups.com
Selcuk Korkmaz created an issue
 
SparkR / Bug SPARKR-246
SparkR installation error: Error: Invalid or corrupt jarfile sbt/sbt-launch-0.13.6.jar
Issue Type: Bug Bug
Assignee: Unassigned
Created: 04/Aug/15 11:03 AM
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

Priority: Major Major
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/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
                                                                                                                                                1. 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!

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.5-OD-08-001#65007-sha1:1fc9846)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages