Ottomata has submitted this change and it was merged. Change subject: Ensuring /var/lib/hadoop exists in labs kraken cdh4 puppetization ......................................................................
Ensuring /var/lib/hadoop exists in labs kraken cdh4 puppetization Change-Id: I711608a788a83013bc971e24e5f0e6259aad9931 --- M manifests/role/analytics/hadoop.pp 1 file changed, 7 insertions(+), 0 deletions(-) Approvals: Ottomata: Verified; Looks good to me, approved diff --git a/manifests/role/analytics/hadoop.pp b/manifests/role/analytics/hadoop.pp index 6a642ea..4fffff1 100644 --- a/manifests/role/analytics/hadoop.pp +++ b/manifests/role/analytics/hadoop.pp @@ -115,6 +115,13 @@ $namenode_hostname = 'kraken0.pmtpa.wmflabs' $hadoop_name_directory = '/var/lib/hadoop/name' + # We don't have to create any partions in hive, so it + # is unlikely that /var/lib/hadoop will be created manually. + # Ensure it exists. + file { '/var/lib/hadoop': + ensure => 'directory', + } + $hadoop_data_directory = '/var/lib/hadoop/data' $datanode_mounts = [ "$hadoop_data_directory/a", -- To view, visit https://gerrit.wikimedia.org/r/72989 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I711608a788a83013bc971e24e5f0e6259aad9931 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ottomata <o...@wikimedia.org> Gerrit-Reviewer: Ottomata <o...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits