GithubHelp home page GithubHelp logo

spark_performance_analysis_movielen's Introduction

Spark_Performance_Analysis_MovieLen

This project is the Final Project for DSAA5021. You can quickly set up the environment and try out our code by following these steps.

Please Download the full dataset from MovieLen, and put the dataset in the folder ml-25m.

Cluster overview

Application URL Description
JupyterLab localhost:8889 Cluster interface with built-in Jupyter notebooks
Spark Driver localhost:4041 Spark Driver web ui
Spark Master localhost:8080 Spark Master node
Spark Worker I localhost:8081 Spark Worker node with 1 core and 4g of memory (default)
Spark Worker II localhost:8082 Spark Worker node with 1 core and 4g of memory (default)
Spark Worker III localhost:8083 Spark Worker node with 1 core and 4g of memory (default)

Prerequisites

Before starting, ensure you have Docker and Docker Compose installed on your computer. Follow the guides below based on your operating system:

  • For Windows Or Mac:

    • Visit Docker Hub to download and install Docker Desktop for Windows or Mac.
    • Docker Compose will be included automatically as part of Docker Desktop.
  • For Linux:

    • Install Docker using your distribution's package manager (e.g., apt for Ubuntu, yum for Fedora).
    • Install Docker Compose separately by following the instructions on the official Docker website.

Getting Started

To start using the Spark Performance Analysis on MovieLen, follow these steps:

  1. Edit the docker compose file with your favorite configuration;
  2. Start the cluster;
docker-compose up
  1. The directory where the docker compose file is located will be mounted to this path on the container: /root/local-workspace;
  2. Run Apache Spark code using the provided Jupyter notebooks with PySpark;
  3. Stop the cluster by typing ctrl+c on the terminal;
  4. Run step 2 to restart the cluster.

spark_performance_analysis_movielen's People

Contributors

bellaz98 avatar gdistories 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.