You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
446 B
YAML

---
- name: Directories for the hdfs journal under /data/dfs
file: dest={{ hdfs_data_dir}}/{{ item }} state=directory owner=hdfs group=hdfs mode=700
with_items:
- '{{ hdfs_journal_data_dir }}'
tags:
- hdfs
- journal
- name: Install the journalnode server package
apt: pkg={{ item }} state={{ hadoop_pkg_state }}
with_items:
- hadoop-hdfs-journalnode
notify:
- Start HDFS journal
tags:
- hdfs
- journal