ansible-role-apache/hadoop/roles/hadoop_secondary/handlers/main.yml
2013-04-12 17:56:10 +05:30

14 lines
372 B
YAML

---
# Handlers for the hadoop master services
- name: restart hadoop master services
service: name=${item} state=restarted
with_items:
- hadoop-0.20-mapreduce-jobtracker
- hadoop-hdfs-namenode
- name: restart hadoopha master services
service: name=${item} state=restarted
with_items:
- hadoop-0.20-mapreduce-jobtrackerha
- hadoop-hdfs-namenode