Is there any limit on size of a spark broadcast variable?

后端 未结 1 1577
轻奢々
轻奢々 2021-01-03 07:25

I am wondering if there is a limit size of a broadcast variable in spark because I need to broadcast a large object (6GB and can be larger in the future). I have searched in

相关标签:
1条回答
  • 2021-01-03 08:18

    There is a limit of Java Integer.MAX_VALUE. That is to say about 2,3 GB. Please have a look here in Spark Jira for more information: https://issues.apache.org/jira/browse/SPARK-5739

    0 讨论(0)
提交回复
热议问题