Merge "Support of HDP 2.6"

This commit is contained in:
Zuul 2018-04-13 09:44:50 +00:00 committed by Gerrit Code Review
commit 106647295f
5 changed files with 2019 additions and 1 deletions

View File

@ -0,0 +1,3 @@
---
features:
- Implemented support of HDP 2.6 in the Ambari plugin.

View File

@ -51,6 +51,10 @@ repo_id_map = {
"HDP": "HDP-2.5",
"HDP-UTILS": "HDP-UTILS-1.1.0.20"
},
"2.6": {
"HDP": "HDP-2.6",
"HDP-UTILS": "HDP-UTILS-1.1.0.22"
},
}
os_type_map = {

View File

@ -44,7 +44,7 @@ class AmbariPluginProvider(p.ProvisioningPluginBase):
"using Apache Ambari")
def get_versions(self):
return ["2.3", "2.4", "2.5"]
return ["2.3", "2.4", "2.5", "2.6"]
def get_node_processes(self, hadoop_version):
return {

File diff suppressed because one or more lines are too long

View File

@ -33,6 +33,9 @@ class TestPlugin(test_base.SaharaTestCase):
'2.5': [
'Hive', 'Java', 'MapReduce', 'MapReduce.Streaming',
'Pig', 'Shell', 'Spark'],
'2.6': [
'Hive', 'Java', 'MapReduce', 'MapReduce.Streaming',
'Pig', 'Shell', 'Spark'],
}, self.plugin.get_edp_job_types())
self.assertEqual({