spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (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 Mon, 03 Oct 2016 04:34:21 GMT

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

Apache Spark commented on SPARK-17762:
--------------------------------------

User 'falaki' has created a pull request for this issue:
https://github.com/apache/spark/pull/15328

> 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.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