Deprecate HDP 2.0.6 plugin
Finally marking this plugin as deprecated in Mitaka release. We are going to remove that in Newton release. Change-Id: I227530cca47299587897eeb8e19908a13c585862
This commit is contained in:
parent
fc7edcf61d
commit
d35caf1b05
5
releasenotes/notes/deprecate-hdp-a9ff0ecf6006da49.yaml
Normal file
5
releasenotes/notes/deprecate-hdp-a9ff0ecf6006da49.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- The HDP 2.0.6 plugin is deprecated in Mitaka release and
|
||||||
|
will be removed in Newton release. Please, use the Ambari 2.3
|
||||||
|
instead.
|
@ -18,6 +18,7 @@ from oslo_log import log as logging
|
|||||||
|
|
||||||
from sahara import conductor as c
|
from sahara import conductor as c
|
||||||
from sahara import context
|
from sahara import context
|
||||||
|
from sahara import exceptions as base_exc
|
||||||
from sahara.i18n import _
|
from sahara.i18n import _
|
||||||
from sahara.i18n import _LI
|
from sahara.i18n import _LI
|
||||||
from sahara.plugins import exceptions as ex
|
from sahara.plugins import exceptions as ex
|
||||||
@ -296,12 +297,10 @@ class AmbariPlugin(p.ProvisioningPluginBase):
|
|||||||
'of the Hortonworks Data Platform (HDP) on OpenStack.')
|
'of the Hortonworks Data Platform (HDP) on OpenStack.')
|
||||||
|
|
||||||
def validate(self, cluster):
|
def validate(self, cluster):
|
||||||
# creating operational config results in validation
|
raise base_exc.DeprecatedException(
|
||||||
handler = self.version_factory.get_version_handler(
|
_("The HDP 2.0.6 plugin is deprecated in Mitaka release and "
|
||||||
cluster.hadoop_version)
|
"will be removed in Newton release. Please, use the Ambari 2.3 "
|
||||||
|
"instead."))
|
||||||
handler.get_cluster_spec(cluster, self._map_to_user_inputs(
|
|
||||||
cluster.hadoop_version, cluster.cluster_configs))
|
|
||||||
|
|
||||||
def scale_cluster(self, cluster, instances):
|
def scale_cluster(self, cluster, instances):
|
||||||
handler = self.version_factory.get_version_handler(
|
handler = self.version_factory.get_version_handler(
|
||||||
|
Loading…
Reference in New Issue
Block a user