nitowa 0801220596 iterative solution with recursive function | il y a 2 ans | |
---|---|---|
config/db | il y a 2 ans | |
spark-packages | il y a 2 ans | |
src/spark | il y a 2 ans | |
.gitignore | il y a 2 ans | |
README.md | il y a 2 ans | |
clean.py | il y a 2 ans | |
settings.json | il y a 2 ans | |
setup.py | il y a 2 ans | |
small_test_data.csv | il y a 2 ans | |
start_services.sh | il y a 2 ans | |
submit.sh | il y a 2 ans | |
submit_graph.sh | il y a 2 ans |
TODO
For the graph implementation specifically you need to install graphframes
manually from a third party since the official release is incompatible with spark 3.x
(pull request pending). A prebuilt copy is supplied in the spark-packages
directory.
settings.json
to reflect your setup. If you are running everything locally you can use start_services.sh
to turn everything on in one swoop. It might take a few minutes for Cassandra to become available.python3 setup.py
from the project root. Per default this will move small_test_data.csv
into the transactions table.submit.sh
(slow) or submit_graph.sh
(faster)python3 clean.py
. Be wary that this wipes all table definitions and data.