Created
July 3, 2015 08:39
-
-
Save mbukatov/6fe5fbc4b2e3fbf3b06b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: bigtop_master | |
user: root | |
vars: | |
state: stopped | |
tasks: | |
- name: Hadoop services on master node | |
service: name={{ item }} enabled=true state={{ state }} | |
with_items: | |
- hadoop-hdfs-datanode | |
- hadoop-hdfs-namenode | |
- hadoop-hdfs-secondarynamenode | |
- hadoop-yarn-nodemanager | |
- hadoop-yarn-resourcemanager | |
- hadoop-yarn-proxyserver | |
- hadoop-mapreduce-historyserver | |
- hadoop-httpfs | |
- flume-agent | |
- hbase-master | |
- hbase-regionserver | |
- hbase-thrift | |
- hue | |
- oozie | |
- solr-server | |
- spark-master | |
- spark-worker | |
- sqoop-server | |
- zookeeper-server | |
- hosts: bigtop_nodes | |
user: root | |
vars: | |
state: stopped | |
tasks: | |
- name: Hadoop services on slave nodes | |
service: name={{ item }} enabled=true state={{ state }} | |
with_items: | |
- hadoop-hdfs-datanode | |
- hadoop-yarn-nodemanager | |
- flume-agent | |
- hbase-regionserver | |
- solr-server | |
- spark-worker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment