我使用的是Spark1.6,根据,允许保存一个RDD来对文件格式进行排序,但是我注意到我的RDD textFile:<console>:30: error: value saveAsSequenceFile is not a member of org.apache.spark.rdd.RDD[Stri
学习自定义SparkRDD分区,编写了一些逻辑,但不编译。在Spark 2.4.3中,启动spark shell:val transactions).partitionBy(new CountryPartitioner(2))error: value partitionBy is not a member of org.apache.spark.rdd