Skip to content

Commit ea5e053

Browse files
committed
Add HDP 2.5.5.0
1 parent 3f96663 commit ea5e053

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

Berksfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if Chef::VERSION.to_f < 12.0
1515
elsif Chef::VERSION.to_f < 12.5
1616
cookbook 'apt', '< 6.0'
1717
cookbook 'build-essential', '< 8.0'
18+
cookbook 'homebrew', '< 4.0'
1819
cookbook 'mingw', '< 2.0'
1920
cookbook 'ohai', '< 5.0'
2021
cookbook 'selinux', '< 1.0'

attributes/default.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@
135135
'2.5.0.0-1245'
136136
when '2.5.3.0'
137137
'2.5.3.0-37'
138+
when '2.5.5.0'
139+
'2.5.5.0-157'
138140
when '2.6.0.3'
139141
'2.6.0.3-8'
140142
else

libraries/helpers.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ def hdp_version
6060
'2.5.0.0-1245'
6161
when '2.5.3.0'
6262
'2.5.3.0-37'
63+
when '2.5.5.0'
64+
'2.5.5.0-157'
6365
when '2.6.0.3'
6466
'2.6.0.3-8'
6567
else

recipes/repo.rb

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@
4646
Chef::Log.warn("Short versions for node['hadoop']['distribution_version'] are deprecated! Please use full version!")
4747
node.override['hadoop']['distribution_version'] = hdp_update_version
4848
# 2.3, 2.4, and 2.5 do not have their own base version
49-
when '2.2.1.0', '2.2.4.2', '2.2.4.4', '2.2.6.0', '2.2.6.3', '2.2.8.0', '2.2.9.0', '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.6.0.3'
49+
when '2.2.1.0', '2.2.4.2', '2.2.4.4', '2.2.6.0', '2.2.6.3', '2.2.8.0', '2.2.9.0',
50+
'2.3.0.0', '2.3.2.0', '2.3.4.0', '2.3.4.7', '2.3.6.0',
51+
'2.4.0.0', '2.4.2.0', '2.4.3.0',
52+
'2.5.0.0', '2.5.3.0', '2.5.5.0',
53+
'2.6.0.3'
5054
hdp_version = '2.2.0.0'
5155
hdp_update_version = node['hadoop']['distribution_version']
5256
when '2.2'
@@ -66,7 +70,7 @@
6670
node.override['hadoop']['distribution_version'] = hdp_update_version
6771
when '2.5'
6872
hdp_version = '2.2.0.0'
69-
hdp_update_version = '2.5.3.0'
73+
hdp_update_version = '2.5.5.0'
7074
Chef::Log.warn("Short versions for node['hadoop']['distribution_version'] are deprecated! Please use full version!")
7175
node.override['hadoop']['distribution_version'] = hdp_update_version
7276
when '2.6', '2'
@@ -142,7 +146,11 @@
142146
case hdp_update_version
143147
when '2.2.0.0'
144148
"2.x/GA/#{hdp_update_version}"
145-
when '2.1.10.0', '2.1.15.0', '2.2.1.0', '2.2.4.2', '2.2.6.0', '2.2.6.3', '2.2.8.0', '2.2.9.0', '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.6.0.3'
149+
when '2.1.10.0', '2.1.15.0', '2.2.1.0', '2.2.4.2', '2.2.6.0', '2.2.6.3', '2.2.8.0', '2.2.9.0',
150+
'2.3.0.0', '2.3.2.0', '2.3.4.0', '2.3.4.7', '2.3.6.0',
151+
'2.4.0.0', '2.4.2.0', '2.4.3.0',
152+
'2.5.0.0', '2.5.3.0', '2.5.5.0',
153+
'2.6.0.3'
146154
"2.x/updates/#{hdp_update_version}"
147155
else
148156
hdp_update_version

0 commit comments

Comments
 (0)