def __init__(self): super(VersionHandler, self).__init__() self.config_helper = config_helper.ConfigHelperV550() self.cloudera_utils = cloudera_utils.ClouderaUtilsV550() self.plugin_utils = plugin_utils.PluginUtilsV550() self.deploy = deploy self.edp_engine = edp_engine self.validation = validation.ValidatorV550()
'cloudera-manager-agent', 'cloudera-manager-daemons', 'cloudera-manager-server', 'cloudera-manager-server-db-2', 'flume-ng', 'hadoop-hdfs-datanode', 'hadoop-hdfs-namenode', 'hadoop-hdfs-secondarynamenode', 'hadoop-kms' 'hadoop-mapreduce', 'hadoop-mapreduce-historyserver', 'hadoop-yarn-nodemanager', 'hadoop-yarn-resourcemanager', 'hbase', 'hbase-solr', 'hive-hcatalog', 'hive-metastore', 'hive-server2', 'hive-webhcat-server', 'hue', 'impala', 'impala-server', 'impala-state-store', 'impala-catalog', 'impala-shell', 'kafka', 'kafka-server' 'keytrustee-keyprovider', 'oozie', 'oracle-j2sdk1.7', 'sentry', 'solr-server', 'solr-doc', 'search', 'spark-history-server', 'sqoop2', 'unzip', 'zookeeper' ] CU = cu.ClouderaUtilsV550() def configure_cluster(cluster): instances = gu.get_instances(cluster) if not cmd.is_pre_installed_cdh(CU.pu.get_manager(cluster).remote()): CU.pu.configure_os(instances) CU.pu.install_packages(instances, PACKAGES) CU.pu.start_cloudera_agents(instances) CU.pu.start_cloudera_manager(cluster) CU.update_cloudera_password(cluster) CU.configure_rack_awareness(cluster) CU.await_agents(cluster, instances) CU.create_mgmt_service(cluster)