To develop and test Glue scripts in local environment, this package mocks underlying AWS functionalities. To make this application platform independant, core functionalities have been dockerized.
- Docker,
- Postgres,
- Java v8,
- Python 3
- Hive,
- Minio Object storage (minio, minio123) Local endpoint: localhost:9000,
- Trino database (admin, no password) Local endpoint: localhost:8080,
- AWS glue libs
- Install & run docker,
- Setup postgres db,
- Clone this repository,
- Install the required dependencies & set enviornment variables using make install command,
- Restart the terminal,
- Once inside the directory, run make up
-
Installation: make install
Note: After installation, one needs to restart the terminal. This ensures that all the required environment variables are set permanently.
-
To run: make up
-
To stop: make down
Please note, following env. variables are set during the installation process. They are listed here for reference purpose and not to be set explicitly.
- AWS_REGION,
- AWS_ACCESS_KEY_ID,
- AWS_SECRET_ACCESS_KEY,
- SPARK_HOME,
- PYTHONPATH