Here's what you need to do to get all the servers started.
-
Edit
defaults
andcredentials
with your preferred configurations. -
Please ensure that the predefined source files
kindle_metadata.json
andkindle_reviews.csv
are present in the foldersmongodb_server/
andmysql_server/
respectively. -
Run
./setup.sh
. You can checklogs/
for the setup progress. -
Once
./setup.sh
finishes running, you may start the analytics by running./run_analytics.sh
. -
You can shut down all servers by running
./teardown.sh
.
You might run into issues with screen
during setup. If so, try the following.
./teardown.sh
sudo /etc/init.d/screen-cleanup start
./setup.sh
You can see the slides for this project at this link: https://docs.google.com/presentation/d/1rwL_yJcdZnlBZjpljL5R7RQgMPV0eXpDRMn6fmgbjCY/edit?usp=sharing