Giter Site home page Giter Site logo

bfs-using-spark's Introduction

Breadth-first search using Spark

Acknowledgment

Sequential version of the BFS algorithm and data sets are taken from the book Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne

Introduction

Parallel Breadth-first search algorithm for undirected Graph processing using Spark

Installation

Requirements: JDK 7, Maven, Spark

Configure service parameters in service.properties file.

####Run with IDE

Add the libraries from sequential-libs folder to your classpath.

Clean-install application with Maven

mvn clean install

Start the master node using the following command

spark-class org.apache.spark.deploy.master.Master

Start the slave nodes using the following command

spark-class org.apache.spark.deploy.worker.Worker spark://{masterIp}:7077

Run the main method of a it.unitn.bd.bfs.BfsSpark class

####Run with Spark

Clean-install application with Maven

mvn clean install

Start the master node using the following command

spark-class org.apache.spark.deploy.master.Master

Start the slave nodes using the following command

spark-class org.apache.spark.deploy.worker.Worker spark://{masterIp}:7077

Submit Spark job from the JAR folder

spark-submit BFS-wit-hMapReduce-${version}-jar-with-dependencies.jar

Documentation

BigData Project (PDF)

bfs-using-spark's People

Contributors

northerndemon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dnyaika llojvqe

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.