You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/01/01 15:32:39 UTC
[jira] [Resolved] (SPARK-12596)
spark.sql.autoBroadcastJoinThreshold should be int
[ https://issues.apache.org/jira/browse/SPARK-12596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-12596.
-------------------------------
Resolution: Not A Problem
The maximum int is 2^31-1 ~= 2.1GB, not 4.2GB. The behavior is correct.
> spark.sql.autoBroadcastJoinThreshold should be int
> --------------------------------------------------
>
> Key: SPARK-12596
> URL: https://issues.apache.org/jira/browse/SPARK-12596
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Srinivasarao Daruna
>
> Hi,
> I have tried to set 4GB as broadcast memory, but received following error message.
> code used is:
> sqlContext.setConf("spark.sql.autoBroadcastJoinThreshold", "4294967296")
> However, for the broadcast join config, the value seems to be using 4 Byte integer, so the maximum value that we can set is, only 2147483647. Any thing above that, it is failing.
> I suppose the memory should be based on availability not decided by the size of a variable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org