Skip to content

Commit

Permalink
Merge pull request #358 from caskdata/feature/add-hdp-2-6-4-0
Browse files Browse the repository at this point in the history
add support for hdp 2.6.4.0
  • Loading branch information
dereklwood authored Feb 1, 2018
2 parents 51c162c + 898ec44 commit b3f3cd9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def hdp_version
'2.6.2.0-205'
when '2.6.3.0'
'2.6.3.0-235'
when '2.6.4.0'
'2.6.4.0-91'
else
node['hadoop']['distribution_version']
end
Expand Down
2 changes: 1 addition & 1 deletion recipes/hadoop_hdfs_datanode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
hadoop_config('hadoop', 'hdfs_site', 'dfs.datanode.data.dir', 'dfs.data.dir', 'file:///tmp/hadoop-hdfs/dfs/data')

dfs_data_dir_perm =
hadoop_config('hadoop', 'hdfs_site', 'dfs.datanode.data.dir.perm', 'dfs.data.dir.perm', '0700')
hadoop_config('hadoop', 'hdfs_site', 'dfs.datanode.data.dir.perm', 'dfs.data.dir.perm', '700')

node.default['hadoop']['hdfs_site']['dfs.datanode.data.dir'] = dfs_data_dirs
node.default['hadoop']['hdfs_site']['dfs.datanode.data.dir.perm'] = dfs_data_dir_perm
Expand Down
6 changes: 3 additions & 3 deletions recipes/repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
'2.3.0.0', '2.3.2.0', '2.3.4.0', '2.3.4.7', '2.3.6.0',
'2.4.0.0', '2.4.2.0', '2.4.3.0',
'2.5.0.0', '2.5.3.0', '2.5.5.0', '2.5.6.0',
'2.6.0.3', '2.6.1.0', '2.6.2.0', '2.6.3.0'
'2.6.0.3', '2.6.1.0', '2.6.2.0', '2.6.3.0', '2.6.4.0'
hdp_version = '2.2.0.0'
hdp_update_version = node['hadoop']['distribution_version']
when '2.2'
Expand All @@ -75,7 +75,7 @@
node.override['hadoop']['distribution_version'] = hdp_update_version
when '2.6', '2'
hdp_version = '2.2.0.0'
hdp_update_version = '2.6.3.0'
hdp_update_version = '2.6.4.0'
Chef::Log.warn("Short versions for node['hadoop']['distribution_version'] are deprecated! Please use full version!")
node.override['hadoop']['distribution_version'] = hdp_update_version
else
Expand Down Expand Up @@ -152,7 +152,7 @@
'2.3.0.0', '2.3.2.0', '2.3.4.0', '2.3.4.7', '2.3.6.0',
'2.4.0.0', '2.4.2.0', '2.4.3.0',
'2.5.0.0', '2.5.3.0', '2.5.5.0', '2.5.6.0',
'2.6.0.3', '2.6.1.0', '2.6.2.0', '2.6.3.0'
'2.6.0.3', '2.6.1.0', '2.6.2.0', '2.6.3.0', '2.6.4.0'
"2.x/updates/#{hdp_update_version}"
else
hdp_update_version
Expand Down

0 comments on commit b3f3cd9

Please sign in to comment.