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

社会主义新天地 提交于 2019-11-29 23:46:47

问题


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 the home page and this site but nothing was found to answer my question. Would I ever have problems with broadcasting a very large object?


回答1:


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



来源:https://stackoverflow.com/questions/32021419/is-there-any-limit-on-size-of-a-spark-broadcast-variable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!