spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Cheung (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-17762) invokeJava fails when serialized argument list is larger than INT_MAX (2,147,483,647) bytes
Date Tue, 02 Jan 2018 06:38:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-17762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307724#comment-16307724
] 

Felix Cheung commented on SPARK-17762:
--------------------------------------

is this still needed after SPARK-17790 is fixed?

> 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
>
> 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
(v6.4.14#64029)

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


Mime
View raw message