rhh777 commented on issue #154:
URL:
https://github.com/apache/incubator-uniffle/issues/154#issuecomment-1312449433
When the RDD is Empty, the shuffle is triggered and the **Empty assignment
to Shuffle Server**
val conf = new SparkConf()
conf.set("spark.shuffle.manager","org.apache.spark.shuffle.RssShuffleManager")
conf.set("spark.rss.coordinator.quorum","localhost:19999")
conf.set("spark.rss.storage.type","MEMORY_LOCALFILE")
val session: SparkSession = SparkSession.builder().config(conf).
master("local").appName("rss_empty_assignment").getOrCreate()
val rdd: RDD[Row] = session.emptyDataFrame.rdd
val inputRDD: RDD[(String, Int)] = rdd.map((row: Row) => {
("rss_empty_assignment", 1)
})
inputRDD.countByKey().foreach(println)
session.stop()
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]