To run:
NOTE: Before you begin, make sure you have Docker installed. This app is deployed and runs within a docker container.
1) Download this repo
2)
./build.sh
3)
./run.sh
4) Wait a minute or two, then open up your browser and go to http://localhost:14444
Bonus (for real-time scoring):
I have included an Apache NiFi template, called NFL_Spark_Model_Scoring.xml. This template can be loaded into Apache NiFi. Once loaded, it'll enable users to ingest, process, and score real-time play-by-play data against this REST-based Spark Web App. The incoming data stream may come from an API, a message bus (such as Kafka or JMS), or another real-time (or static) data source.