Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

This big data distro contains ansible provisioning for: Apache Hadoop, Apache Spark, Apache Hive, Apache Pig, Apache Storm, Apache Zookeeper, Apache Kafka, Apache Cassandra, ElasticSearch, Kibana, Logstash, Apache Hbase, Apache Zeppelin, Apache Flink

License

Notifications You must be signed in to change notification settings

BZCareer/hadoop-ansible

Repository files navigation

Hadoop Ansible

This Ansible playbook contains roles for the following technologies:

  • Apache Hadoop v2.7.1
  • Apache Spark v1.6.1
  • Apache Storm v1.0.1
  • Apache Zookeeper v3.5.0
  • Apache Kafka v2.11-0.9.0.1
  • Apache Pig v0.15.0
  • Apache Hive v2.0.0
  • Apache Cassandra v3.7
  • ElasticSearch v2.3.3
  • Logstash v2.3.3
  • Kibana v4.5.1
  • JBoss Wildfly v10.0
  • Apache Zeppelin v0.6.0
  • Apache Flink v1.0.3

Note: This ansible module is not ready yet and is still in development.

Ansible Variables

If you would like to select which roles you would like to use in this playbook, I've exposed variables for each module install_$role so you can include the ones you want and not include others. See below example of inventory.yml variables:

[all:vars]
# Required variables for this installation
HOME=/home/vagrant
zk_urls=hadoopmaster:2181,hadoopdata1:2181,hadoopdata2:2181
hadoop_gid=hadoop
hadoop_uid=hadoop
hadoopmaster=192.168.33.40
cassandra_seeds=hadoopmaster,hadoopdata1,hadoopdata2

# For selecting which modules to install. To enable set each variable below to true. To disable set to false
install_zookeeper=true
install_hadoop=true
install_kafka=true
install_storm=true
install_spark=true
install_cassandra=true
install_elasticsearch=true
install_kibana=true
install_logstash=true
install_pig=true
install_mysql=true
install_hive=true
install_wildfly=true
install_zeppelin=true
install_hbase=true
install_flink=true
install_flume=true

Prerequisite:

Hadoop will require creation of public key private key pair. Create your public id_rsa.pub, id_rsa and place it in this folder:

/roles/hadoop/files/

Vagrant

vagrant plugin install vagrant-env
vagrant up

Screenshots:

  • Apache Cassandra 3 Node Cluster alt tag

  • Apache Hadoop 3 Node Cluster alt tag alt tag

  • Apache Spark 3 Node Cluster alt tag alt tag alt tag

  • Apache Flink 3 Node Cluster alt tag

Video Demo:

Click on image below to see video demonstration:

ScreenShot

License

Licensed under the Apache License, Version 2.0.

About

This big data distro contains ansible provisioning for: Apache Hadoop, Apache Spark, Apache Hive, Apache Pig, Apache Storm, Apache Zookeeper, Apache Kafka, Apache Cassandra, ElasticSearch, Kibana, Logstash, Apache Hbase, Apache Zeppelin, Apache Flink

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published