Spark入门-Java实现WordCount并打包测试
一、Java代码实现WordCountimport org.apache.spark.SparkConf;import org.apache.spark.api.java.JavaPairRDD;import org.apache.spark.api.java.JavaRDD;import org.apache.spark.api.java.JavaSparkContext;import org.apache.spark.api.java.function.FlatMapFunction;imp
原创
2021-07-13 16:14:31 ·
844 阅读 ·
0 评论