You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Srinivasarao Daruna (JIRA)" <ji...@apache.org> on 2016/01/01 14:38:39 UTC

[jira] [Created] (SPARK-12596) spark.sql.autoBroadcastJoinThreshold should be int

Srinivasarao Daruna created SPARK-12596:
-------------------------------------------

             Summary: 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