spark maxResultSize

INFO org.apache.spark.deploy.yarn.ApplicationMaster: 
Unregistering ApplicationMaster with FAILED 
(diag message: 
	User class threw exception: 
		org.apache.spark.SparkException: 
			Job aborted due to stage failure: 
				Total size of serialized results of 19 tasks (1069.2 MB) is bigger than spark.driver.maxResultSize (1024.0 MB)

val conf = new SparkConf().setAppName("your app name")
conf.set("spark.yarn.executor.memoryOverhead", "2000")
conf.set("spark.driver.maxResultSize", "8g")

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章