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