You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivaram Venkataraman (JIRA)" <ji...@apache.org> on 2015/06/14 02:44:00 UTC

[jira] [Resolved] (SPARK-8340) Error creating sparkR dataframe: Error in writeJobj(ocn, object): invalid jobj 2

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

Shivaram Venkataraman resolved SPARK-8340.
------------------------------------------
    Resolution: Not A Problem

> Error creating sparkR dataframe: Error in writeJobj(ocn, object): invalid jobj 2
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-8340
>                 URL: https://issues.apache.org/jira/browse/SPARK-8340
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 1.4.0
>         Environment: Windows 8.1, RRO R 3.2.0
>            Reporter: nevi_me
>
> I tried executing the following code:
> {code:title="extract from dataframe.R in examples"}
>   library(SparkR)
>   sc <- sparkR.init(appName="SparkR-DataFrame-example")
>   sqlContext <- sparkRSQL.init(sc)
>   localDF <- data.frame(name=c("John", "Smith", "Sarah"), age=c(19, 23, 18))
>   df <- createDataFrame(sqlContext, localDF)
> {code}
> I get the error:
> {code:title="error"}
>   Error in writeJobj(con, object) : invalid jobj 2
> {code}
> I also tried creating dataframes out of existing data.frames in my project, but I get the same error.



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