Git Product home page Git Product logo

ansible-flink's Introduction

Standalone Apache Flink cluster deployment with Ansible

The setup is the one described here.

Usage

Hosts

Edit the hosts.ini file by adding the hostnames or IPs of the cluster's machines under the group flink.

Use the flink_type variable to specify which node will be master (JobManager) and set the others to slave (TaskManager).

If you want you can set all the nodes to slaves, and execute the JobManager locally to your PC.

Configuration Variables

Next, go ahead and edit the default values in the flink file.

Run

Run the playbook with:

ansible-playbook -i hosts.ini site.yml

UI

Visit the master host at the port 8081 to access the Flink's web UI. If the cluster is running properly, you can then submit tasks for execution.

Important Notes

High Availability

This setup is not highly available, meaning that if the JobManager goes down, the TaskManagers will continue the execution but no new tasks can be assigned and no monitoring is possible.

Normally, a highly available setup contains a quorum of JobManagers, which requires Zookeeper.

There are plans to support high availability in the near future.

System Services

Flink runs as a service with systemd, and by default it is enabled on system startup. Edit the corresponding variables if you don't want such behavior.

Distributions Supported

Currently only deb distributions are supported (ubuntu, debian), with systemd.

Software requirements

Ansible version >= 2.2 and jmespath python package.

ansible-flink's People

Contributors

nikosgavalas 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.