Giter Site home page Giter Site logo

sparkler's Introduction

Sparkler CI status

✨Sparkler is a tool to easily deploy a Master/Worker computing grid at home. It interfaces the Apache Spark framework.

  • Simple, non-technical app interface
  • Automated, fault-tolerant, distributed computing at home
  • High-performance computing framework for multiple languages
Table of Contents (click to expand)

💾 Installation

Requirements

So far, it has only being tested on

  • Windows 8.1, 10, Ubuntu 16.04
  • Java JRE 1.8.0
  • (Already compiled) Apache Spark 2.11.8
  • winutils (if using Windows OS)

​You can either get an installer from the latest release or clone this repository

git clone https://github.com/espetro/sparkler.git

Download the Apache Spark distribution and unzip the repo inside its folder. Then copy sparkler.jar (with/out its .exe, .sh equivalents) to the Apache root folder.

▶️ Usage

  • How to deploy a master

    Start a master - Win10

    Start the app, and press Start button on the Master tab. To stop it, press Finish. You can see the executors (jobs) and workers connected at http://localhost:8080/.

    The master Spark's URL will be written on the upper field.

  • How to deploy a worker

    Start a worker - Win10

    Start the app on the Slave tab and introduce the Master's URL (spark://address:port). Optionally, you can select the amount of CPU/Memory resources the worker will use. You can see the executors (jobs) and worker information at http://localhost:8081/.

Take into account that either the Slave or Master must be killed pressing FINISH, as exiting the program won't stop the background processes.

Once at least a master and a worker has been deployed, you can submit Spark jobs with

Seemingly, as Spark clusters usually run on remote machines, it's usual to use Jupyter Notebooks to submit applications against the cluster. You can see the configuration process here.

👪 Contributing

Please see CONTRIBUTING.md.

📚 Resources

🎓 License

Apache License 2.0

sparkler's People

Contributors

espetro avatar

Watchers

James Cloos 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.