- 已编辑
在下略读了以下文章,尝试使用spark运算大量数据~
<https://github.com/rstudio/sparklyr> 和 <http://www.cnblogs.com/homewch/p/5658970.html>
不过就是无法连接到spark... 错误信息显示得使用其它版本的Java,不过僕刚安装Java_8.144,还是不行。=="
> spark_version <- "2.1.0"
> sc <- spark_connect(master = "local", version = spark_version)
Error in get_java(throws = TRUE) :
Java is required to connect to Spark. JAVA_HOME is set but does not point to a valid version. Please fix JAVA_HOME or reinstall from: https://www.java.com/en/