JDBC Operations in Spark + Scala

Here is the sample code to create a sample Dataframe from a RDD and then insert that into MySql database. This approved should work for any other relational databases.



Happy Sparking...

Comments

Popular posts from this blog

Binary Data to Float using Spark SQL

Installing Additional Hadoop Services using Parcels in Cloudera Manager

HDFS filenames without rest of the file details