[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org