import org.apache.spark.sql.{SQLContext, SaveMode} import org.apache.spark.sql.hive.HiveContext//spark-shell --driver-class-path /home/hadoop/hive/lib/mysql-connector-java-5.1.46.jarobjectplayuser { def main(args: Array[String]): Unit={ val cf=newSparkConf().setMaster("master").setApp...
import org.apache.spark.sql.{SQLContext, SaveMode} import org.apache.spark.sql.hive.HiveContext//spark-shell --driver-class-path /home/hadoop/hive/lib/mysql-connector-java-5.1.46.jarobjectplayuser { def main(args: Array[String]): Unit={ val cf=newSparkConf().setMaster("master").setApp...