You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:13:43 UTC

[jira] [Resolved] (SPARK-17762) invokeJava fails when serialized argument list is larger than INT_MAX (2,147,483,647) bytes

     [ https://issues.apache.org/jira/browse/SPARK-17762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-17762.
----------------------------------
    Resolution: Incomplete

> invokeJava fails when serialized argument list is larger than INT_MAX (2,147,483,647) bytes
> -------------------------------------------------------------------------------------------
>
>                 Key: SPARK-17762
>                 URL: https://issues.apache.org/jira/browse/SPARK-17762
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 2.0.0
>            Reporter: Hossein Falaki
>            Priority: Major
>              Labels: bulk-closed
>
> We call {{writeBin}} within {{writeRaw}} which is called from invokeJava on the serialized arguments list. Unfortunately, {{writeBin}} has a hard-coded limit set to {{R_LEN_T_MAX}} (which is itself set to {{INT_MAX}} in base). 
> To work around it, we can check for this case and serialize the batch in multiple parts.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org