SparkR安装错误wget:无法识别的选项' - 进度条'

时间:2016-06-10 21:03:45

标签: apache-spark docker debian sparkr

我正在尝试使用Debian OS在Docker容器中安装SparkR。我从R控制台输入的命令是:

>library(devtools)
>install_github("amplab-extras/SparkR-pkg", ref="master", subdir="pkg")

然后错误信息如下:

Downloading GitHub repo amplab-extras/SparkR-pkg@master
from URL https://api.github.com/repos/amplab-extras/SparkR-pkg/zipball/master
Installing SparkR
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet  \
  CMD INSTALL  \
  '/tmp/RtmpvjW078/devtools12119aab1c/amplab-extras-SparkR-pkg-385fbe5/pkg'  \
  --library='/usr/local/lib/R/site-library' --install-tests

installing *source* package ‘SparkR’ ...
** libs
** arch -
./sbt/sbt assembly
Attempting to fetch sbt
wget: unrecognized option '--progress-bar'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
wget: unrecognized option '--progress-bar'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
Our attempt to download sbt locally to sbt/sbt-launch-0.13.6.jar failed. Please install sbt manually from http://www.scala-sbt.org/
Makefile:37: recipe for target 'target/scala-2.10/sparkr-assembly-0.1.jar' failed
make: *** [target/scala-2.10/sparkr-assembly-0.1.jar] Error 255
ERROR: compilation failed for package ‘SparkR’
* removing ‘/usr/local/lib/R/site-library/SparkR’
Error: Command failed (1)

有没有人遇到类似的问题或者知道为什么会这样?我也手动安装了SBT,但似乎SparkR找不到它。

1 个答案:

答案 0 :(得分:0)

新拉动解决了这个问题:

https://github.com/amplab-extras/SparkR-pkg/pull/254

它应该不再是一个问题。