Skip to content

Commit

Permalink
Merge pull request #333 from caskdata/feature/add-hdp-261
Browse files Browse the repository at this point in the history
add hdp 2.6.1
  • Loading branch information
dereklwood authored Jun 13, 2017
2 parents e5f236d + 3c067e1 commit 93bb412
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Empty file modified Rakefile
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@
'2.5.5.0-157'
when '2.6.0.3'
'2.6.0.3-8'
when '2.6.1.0'
'2.6.1.0-129'
else
node['hadoop']['distribution_version']
end
Expand Down
2 changes: 2 additions & 0 deletions libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def hdp_version
'2.5.5.0-157'
when '2.6.0.3'
'2.6.0.3-8'
when '2.6.1.0'
'2.6.1.0-129'
else
node['hadoop']['distribution_version']
end
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.6.0.3'
'2.6.0.3', '2.6.1.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.0.3'
hdp_update_version = '2.6.1.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 @@ -150,7 +150,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.6.0.3'
'2.6.0.3', '2.6.1.0'
"2.x/updates/#{hdp_update_version}"
else
hdp_update_version
Expand Down

0 comments on commit 93bb412

Please sign in to comment.