Skip to content

Ameykolhe/pySparkExamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySpark Examples

pages-build-deployment

Tutorial Link - ameyk.com
Repository to store pyspark code

Project Setup

  1. Create .env file in project root directory
    MYSQL_DB=<MySQL Database name>
    MYSQL_USER=<MySQL Username>
    MYSQL_PASSWORD=<MySQL Password">
    MYSQL_ROOT_PASSWORD=<MySQL root Password>
    
    MONGO_ROOT_USER=<MongoDB Root Username>
    MONGO_ROOT_PASSWORD=<MongoDB Root Password>
    
    MONGOEXPRESS_LOGIN=<MongoExpress Username>
    MONGOEXPRESS_PASSWORD=<MongoExpress Password>
    
  2. Requires Docker & docker-compose for database services
  3. Docker data directories setup
    1. Create the following Directory Structure
      data
        ├───elastic_search
        │   ├───1
        │   ├───2
        │   └───3
        ├───mongodb
        └───mysql
      
  4. Download MySQL Java connector and paste it in project root directory

About

PySpark Examples

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors