Skip to content

Fetch data from MySQL and push it in Cassandra using spark in local mode and vice-versa. Using pyspark to featch data from MySQL and store into Elasticsearch.

License

Notifications You must be signed in to change notification settings

shivamgupta7/MySQL-To-NoSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQL-To-NoSQL

Fetch data from MySQL and push it in Cassandra using spark in local mode and vice-versa. Using pyspark to featch data from MySQL and store into Elasticsearch.

MySQL to Elasticsearch

How to start:-

  1. Install MySQL.

  2. Install elasticsearch in local system and check port is running or not.

  3. Install spark in local system.

  4. Clone the Repo.

    git clone https://github.com/shivamgupta7/MySQL-To-NoSQL.git 
    
  5. Go into the file and install all requirements.

    cd MySQL-To-NoSQL
    
    pip install -r requirements.txt
    
  6. Edit mysqlToEs.py to give your host,database,userName,passwd,tableName,elsticHost,port,indexName.

  7. Run mysqlToEs.py file

    python mysqlToEs.py
    

MySQL to Cassandra and Vice-Versa.

How to start:-

  1. Install MySQL.

  2. Install Cassandra

  3. Install spark in local system.

  4. Clone the Repo.

    git clone https://github.com/shivamgupta7/MySQL-To-NoSQL.git 
    
  5. Go into the file and install all requirements.

    cd MySQL-To-NoSQL
    
    pip install -r requirements.txt
    
  6. Edit mysqlCassandr.py to give your host,database,userName,passwd,tableName,keyspaceName,tableName.

  7. Run mysqlCassandr.py file

    python mysqlCassandra.py
    

About

Fetch data from MySQL and push it in Cassandra using spark in local mode and vice-versa. Using pyspark to featch data from MySQL and store into Elasticsearch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages