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

Reply via email to