Giter Site home page Giter Site logo

crimeinla's Introduction

CrimeInLA

Overview

This project involves analyzing crime data in Los Angeles using Apache Spark. It includes queries implemented in DataFrame, RDD and SQL APIs.

Installation Requirements

You can check out this setup guide provided by our professors:

Before running the scripts, ensure that you have the following prerequisites:

  1. Cluster Setup:

    • Install and configure at least 2 Ubuntu 22.04 clusters.
    • Set up Apache Spark, Java, Hadoop Distributed File System (HDFS), and YARN on each cluster.
  2. Access to UIs:

    • Ensure proper configuration for accessing Spark, HDFS, and YARN UIs.
  3. Download Datasets:

  4. Store Datasets in HDFS:

    • Store downloaded datasets in the HDFS of your machine.

Running the Scripts

Follow these steps to run the scripts (for instance Query 1 with DataFrame API):

  1. Clone this repository:
    git clone https://github.com/ntua-el19613/CrimeInLA
    cd CrimeInLA
  2. Navigate to the specific query folder:
    cd query1
  3. Submit the Spark job for Query 1 with DataFrame API:
    spark-submit Q1DF.py

Contributors

This project was a team effort by the following contributors:

  • Giannouchou Olga (03119613)
  • Bellos Ioannis (03119067)

crimeinla's People

Contributors

olgagnn avatar johnbellos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.