Hi We are seeing some weird behaviour in Spark R.
We created a R Dataframe with 600K records and 29 columns. Then we tried to convert R DF to SparkDF using df <- SparkR::createDataFrame(rdf) from RStudio. It hanged, we had to kill the process after 1-2 hours. We also tried following: df <- SparkR::createDataFrame(rdf, numPartition=4000) df <- SparkR::createDataFrame(rdf, numPartition=300) df <- SparkR::createDataFrame(rdf, numPartition=10) Same result. Both scenarios seems RStudio is working and no trace of jobs in Spark Application Master view. Finally, we used this: df <- SparkR::createDataFrame(rdf, schema=schema) , schema is a StructType. This tool 25 mins to create the spark DF. However job did show up in Application Master view and it shows only 20-30 secs. Then where did rest of the time go? Question: 1. Is this expected behavior? (I hope not). How should we speed up this bit? 2. We understand better options would be to read data from external sources, but we need this data to be generated for some simulation purpose. Whats possibly going wrong? Best Ayan -- Best Regards, Ayan Guha