spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-12596) spark.sql.autoBroadcastJoinThreshold should be int
Date Fri, 01 Jan 2016 14:32:39 GMT

     [ 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


Mime
View raw message