Skip to content

Commit 0f64bf5

Browse files
committed
HDFS upgrade fix
Signed off -by: Dherendra Singh <dhersing@in.ibm.com>
1 parent 33d9fbd commit 0f64bf5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

roles/scale_hdfs/upgrade/tasks/upgrade.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,27 @@
5151
- name: upgrade | Set the extracted package directory path
5252
set_fact:
5353
hdfs_extracted_path: "{{ scale_extracted_path }}"
54+
hdfs_version_path_selection_rhel: "{{ hdfs_rhel_version_path }}"
5455

5556
- name: upgrade | Stat extracted packages directory
5657
stat:
5758
path: "{{ hdfs_extracted_path }}"
5859
register: scale_extracted_gpfs_dir
5960

61+
- include_tasks: prepare_env.yml
62+
63+
- block:
64+
- name:
65+
set_fact:
66+
hdfs_version_path_selection_rhel: "{{ hdfs_rhel_version_path_33 }}"
67+
when: transparency_33_enabled|bool
68+
69+
- name: upgrade | Fetch hdfs rpm dir path for rhel
70+
set_fact:
71+
hdfs_rpm_path_rhel: "{{ hdfs_version_path_selection_rhel }}"
72+
run_once: true
73+
delegate_to: localhost
74+
6075
- include_tasks: upgrade_{{ scale_installmethod }}.yml
6176

6277
- import_tasks: yum/upgrade.yml

0 commit comments

Comments
 (0)