[
https://issues.apache.org/jira/browse/SPARK-14594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254631#comment-15254631
]
Felix Cheung commented on SPARK-14594:
--------------------------------------
I see - it is likely then the JVM process died running out of memory possibly?
{code}
returnStatus <- readInt(conn)
if (returnStatus != 0) {
stop(readString(conn))
}
readObject(conn)
{code}
It is possible that readInt does not return a valid status in that case. I'll
look into this.
> Improve error messages for RDD API
> ----------------------------------
>
> Key: SPARK-14594
> URL: https://issues.apache.org/jira/browse/SPARK-14594
> Project: Spark
> Issue Type: Improvement
> Components: SparkR
> Affects Versions: 1.5.2
> Reporter: Marco Gaido
>
> When you have an error in your R code using the RDD API, you always get as
> error message:
> Error in if (returnStatus != 0) { : argument is of length zero
> This is not very useful and I think it might be better to catch the R
> exception and show it instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]