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

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

Neville Dipale created SPARK-8340:
-------------------------------------

             Summary: 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: Neville Dipale


I tried executing the following code:

{code:R|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