我尝试在 RStudio 中初始化一个 Spark 会话
library(SparkR)
spark = sparkR.session()
我得到以下输出:
Spark package found in SPARK_HOME: /opt/application/Spark2/current
Launching java with spark-submit command /opt/application/Spark2/current/bin/spark-submit sparkr-shell /tmp/RtmpHnfhH3/backend_port60069d001e5
Error in sparkR.sparkContext(master, appName, sparkHome, sparkConfigMap, :
Unexpected EOF in JVM connection data. Mismatched versions?
有谁知道如何解决这个问题?