摘要: from pyspark import SparkContext ,SparkConfconf=SparkConf().setAppName("miniProject").setMaster("local[4]")#conf=SparkConf().setA... 阅读全文
posted @ 2019-03-07 22:28 luoganttcc 阅读(758) 评论(0) 推荐(0) 编辑
摘要: from pyspark import SparkContext ,SparkConfconf=SparkConf().setAppName("miniProject").setMaster("local[4]")#conf=SparkConf().setA... 阅读全文
posted @ 2019-03-07 22:14 luoganttcc 阅读(2406) 评论(0) 推荐(0) 编辑
摘要: 1:载mysql-connector 放入 jars下2:在spark-env.sh中 配置EXTRA_SPARK_CLASSPATH环境变量3:export SPARK_CLASSPATH=/opt/spark/spark-2.4.0-bin-hadoop... 阅读全文
posted @ 2019-03-07 09:44 luoganttcc 阅读(541) 评论(0) 推荐(0) 编辑