Skip to content

Commit 8bd559e

Browse files
authored
Merge pull request #525 from dheren-git/master_hdfs
HDFS transparency 33 fix
2 parents 39f6dc4 + eb78025 commit 8bd559e

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

roles/scale_hdfs/cluster/tasks/configure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
- name: configure | InitializeSharedEdits for Namenodes HA
252252
command: /usr/lpp/mmfs/hadoop/bin/hdfs namenode -initializeSharedEdits -force
253253
register: initializedSharedEdits
254-
when: ha_enabled|bool and ces_hdfs_enabled|bool and ha_enable_dir.rc|length != 0
254+
when: ha_enabled|bool and ces_hdfs_enabled|bool and ha_enable_dir.rc != 0
255255

256256
- name: configure | suspend CES nodes
257257
command: "/usr/lpp/mmfs/bin/mmces node suspend --stop -N {{ scale_hdfs_cluster.namenodes|join(',') }}"

roles/scale_hdfs/precheck/tasks/prepare_env.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,3 @@
2121
- transparency_version.stdout|bool
2222
delegate_to: localhost
2323
run_once: true
24-
25-
- debug:
26-
var: transparency_33_enabled|bool

samples/vars/hdfs_cluster_vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ scale_hdfs_clusters:
1616
name: mycluster
1717
filesystem: gpfs1
1818
namenodes: ['host-vm1.test.net', 'host-vm2.test.net']
19-
datanodes: ['host-vm1.test.net', 'host-vm2.test.net', 'host-vm3.test.net']
19+
datanodes: ['host-vm3.test.net', 'host-vm4.test.net', 'host-vm5.test.net']
2020
datadir: datadir

0 commit comments

Comments
 (0)