/** * Created by wu-yj on 2016/5/6. */ import java.sql.{Connection, DriverManager, PreparedStatement} import org.apache.spark.{SparkConf, SparkContext}import java.sql.{Connection, DriverManager} import org.apache.spark.{SparkConf, SparkContext}import…