Skip to content

Commit

Permalink
fix: only loop through hdfs_datanodes_decommission and yarn_nodemanag…
Browse files Browse the repository at this point in the history
…ers_decommission if defined
  • Loading branch information
SteBaum committed Sep 26, 2024
1 parent df8f913 commit 56ab332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/hdfs/common/templates/dfs.exclude.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% for dn in hdfs_datanodes_decommission %}
{% for dn in hdfs_datanodes_decommission | default([]) %}
{{ dn }}
{% endfor %}
2 changes: 1 addition & 1 deletion roles/yarn/common/templates/yarn.exclude.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% for nm in yarn_nodemanagers_decommission %}
{% for nm in yarn_nodemanagers_decommission | default([]) %}
{{ nm }}
{% endfor %}

0 comments on commit 56ab332

Please sign in to comment.