Skip to content

Commit

Permalink
fix: move zkfc systemd template to install
Browse files Browse the repository at this point in the history
  • Loading branch information
PACordonnier authored and rpignolet committed Jul 12, 2024
1 parent 99b0d0d commit 7db0dd8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 0 additions & 8 deletions roles/hdfs/namenode/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@
vars:
ranger_audit_file: "{{ hdfs_log_dir }}/{{ hadoop_hdfs_ranger_audit_file }}"

- name: Template HDFS ZKFC service file
ansible.builtin.template:
src: hadoop-hdfs-zkfc.service.j2
dest: /usr/lib/systemd/system/hadoop-hdfs-zkfc.service
owner: root
group: root
mode: "644"

- name: Render core-site.xml
ansible.builtin.template:
src: core-site.xml.j2
Expand Down
10 changes: 10 additions & 0 deletions roles/hdfs/namenode/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,13 @@
mode: "644"
notify:
- systemctl daemon-reload

- name: Template HDFS ZKFC service file
ansible.builtin.template:
src: hadoop-hdfs-zkfc.service.j2
dest: /usr/lib/systemd/system/hadoop-hdfs-zkfc.service
owner: root
group: root
mode: "644"
notify:
- systemctl daemon-reload

0 comments on commit 7db0dd8

Please sign in to comment.