使用的版本:
火花版本:2.3.2
Scala版本:2.11.8
SBT版本:1.2.4
build.sbt:
name := "spark_demo"
version := "0.1"
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.3.2",
"org.apache.spark" %% "spark-sql" % "2.3.2",
"org.apache.spark" %% "spark-hive" % "2.3.2"
)
错误: