Skip to content

Commit 93bb412

Browse files
authored
Merge pull request #333 from caskdata/feature/add-hdp-261
add hdp 2.6.1
2 parents e5f236d + 3c067e1 commit 93bb412

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

Rakefile

100644100755
File mode changed.

attributes/default.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@
141141
'2.5.5.0-157'
142142
when '2.6.0.3'
143143
'2.6.0.3-8'
144+
when '2.6.1.0'
145+
'2.6.1.0-129'
144146
else
145147
node['hadoop']['distribution_version']
146148
end

libraries/helpers.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def hdp_version
6464
'2.5.5.0-157'
6565
when '2.6.0.3'
6666
'2.6.0.3-8'
67+
when '2.6.1.0'
68+
'2.6.1.0-129'
6769
else
6870
node['hadoop']['distribution_version']
6971
end

recipes/repo.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
'2.3.0.0', '2.3.2.0', '2.3.4.0', '2.3.4.7', '2.3.6.0',
5151
'2.4.0.0', '2.4.2.0', '2.4.3.0',
5252
'2.5.0.0', '2.5.3.0', '2.5.5.0',
53-
'2.6.0.3'
53+
'2.6.0.3', '2.6.1.0'
5454
hdp_version = '2.2.0.0'
5555
hdp_update_version = node['hadoop']['distribution_version']
5656
when '2.2'
@@ -75,7 +75,7 @@
7575
node.override['hadoop']['distribution_version'] = hdp_update_version
7676
when '2.6', '2'
7777
hdp_version = '2.2.0.0'
78-
hdp_update_version = '2.6.0.3'
78+
hdp_update_version = '2.6.1.0'
7979
Chef::Log.warn("Short versions for node['hadoop']['distribution_version'] are deprecated! Please use full version!")
8080
node.override['hadoop']['distribution_version'] = hdp_update_version
8181
else
@@ -150,7 +150,7 @@
150150
'2.3.0.0', '2.3.2.0', '2.3.4.0', '2.3.4.7', '2.3.6.0',
151151
'2.4.0.0', '2.4.2.0', '2.4.3.0',
152152
'2.5.0.0', '2.5.3.0', '2.5.5.0',
153-
'2.6.0.3'
153+
'2.6.0.3', '2.6.1.0'
154154
"2.x/updates/#{hdp_update_version}"
155155
else
156156
hdp_update_version

0 commit comments

Comments
 (0)