Abdeladim101Basraoui / spark_MySQL2JSON

transform relational database into json using spark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample Spark Java

A simple working example of Spark with Java.

How to run

Bring up docker and create table

$ docker-compose up -d
$ cd docker
$ ./plug_play.sh

Compile and run with Maven

First 1 million records test rows inserted to the database. Then Sparks read those records and convert them to JSON in books_json directory.

About

transform relational database into json using spark


Languages

Language:Java 67.5%Language:Shell 23.6%Language:Dockerfile 9.0%