コード例 #1
0
ファイル: plugin.py プロジェクト: jfrodriguez/sahara
 def configure_cluster(self, cluster):
     deploy.setup_ambari(cluster)
     deploy.setup_agents(cluster)
     deploy.wait_ambari_accessible(cluster)
     deploy.update_default_ambari_password(cluster)
     cluster = conductor.cluster_get(context.ctx(), cluster.id)
     deploy.wait_host_registration(cluster)
     deploy.set_up_hdp_repos(cluster)
     deploy.create_blueprint(cluster)
コード例 #2
0
 def configure_cluster(self, cluster):
     deploy.disable_repos(cluster)
     deploy.setup_ambari(cluster)
     deploy.setup_agents(cluster)
     deploy.wait_ambari_accessible(cluster)
     deploy.update_default_ambari_password(cluster)
     cluster = conductor.cluster_get(context.ctx(), cluster.id)
     deploy.wait_host_registration(cluster)
     deploy.set_up_hdp_repos(cluster)
     deploy.create_blueprint(cluster)
コード例 #3
0
 def configure_cluster(self, cluster):
     deploy.disable_repos(cluster)
     deploy.setup_ambari(cluster)
     deploy.setup_agents(cluster)
     deploy.wait_ambari_accessible(cluster)
     deploy.update_default_ambari_password(cluster)
     cluster = conductor.cluster_get(context.ctx(), cluster.id)
     deploy.wait_host_registration(cluster,
                                   plugin_utils.get_instances(cluster))
     deploy.prepare_kerberos(cluster)
     deploy.set_up_hdp_repos(cluster)
     deploy.resolve_package_conflicts(cluster)
     deploy.create_blueprint(cluster)