Skip to content

ashwin-sp/Traffic-Accident-Analysis

 
 

Repository files navigation

To run the inferences, ensure that you have an environment with PySpark and other relevant libraries installed and directly run the notebook.

To run kafka, start the Zookeeper Service

$ bin/zookeeper-server-start.sh config/zookeeper.properties

Start the Broker Service

$ bin/kafka-server-start.sh config/server.properties

Create a topic (one time only)

$ bin/kafka-topics.sh --create --topic accident_tmp_input --bootstrap-server localhost:9092

Run the KafkaProducer notebook first and then the KafkaConsumer notebook. Your output should be accumulated from time to time in a HTML file.

About

Forked from my Big Data Final Project Repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 72.5%
  • Jupyter Notebook 27.5%