We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8e6196 + 9664f70 commit d05670dCopy full SHA for d05670d
roles/scale_hdfs/postcheck/tasks/check.yml
@@ -93,6 +93,7 @@
93
register: force_active
94
when: ha_enabled|bool and active_status.stdout_lines | length == 0 and ceshost.stdout|length != 0
95
delegate_to: "{{ ceshost.stdout }}"
96
+ ignore_errors: yes
97
failed_when: false
98
run_once: true
99
@@ -104,8 +105,9 @@
104
105
- name: postcheck | Check Namenodes active status again
106
shell: "{{ scale_hdfs_command_path }}hdfs haadmin -getAllServiceState | grep -i 'active'"
107
register: active_status_again
- when: ha_enabled|bool and force_active.rc == 0
108
+ when: ha_enabled|bool
109
delegate_to: "{{ scale_server }}"
110
111
112
113
0 commit comments