Module Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad kwarg body If UnaryOpNot NameLoad body Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr NameLoad keyword Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad kwarg body Assign NameStore BoolOpOr NameLoad Dict Assign NameStore BoolOpOr NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore TupleLoad Str Num ListLoad Str Num Assign NameStore TupleLoad Str Num ListLoad Str Str Str Str Num Assign NameStore TupleLoad Str Num ListLoad Str Str Num Assign NameStore ListLoad NameLoad NameLoad NameLoad If CompareIn Str NameLoad body If CompareEq SubscriptLoad NameLoad Index Str Num body Expr Call AttributeLoad NameLoad attr NameLoad orelse AugAssignSub SubscriptStore NameLoad Index Str Num For NameStore SubscriptLoad NameLoad Index Num body If CompareIn NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad Num body Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad orelse AugAssignSub SubscriptStore NameLoad Index NameLoad Num For NameStore SubscriptLoad NameLoad Index Num body If CompareIn NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad Num body Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If NameLoad body Assign NameStore TupleLoad Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Num ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad keyword Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad Return Call AttributeLoad NameLoad attr Str Num Str Str NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore BoolOpOr NameLoad ListLoad Assign NameStore BoolOpOr NameLoad Dict Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict ListLoad Dict Str Dict Str Dict Str Num ListLoad NameLoad Dict ListLoad Dict Str Dict Str Dict Str Num ListLoad NameLoad Dict ListLoad Dict Str Dict Str Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Dict Str Str Str Num Num Num ListLoad NameLoad Dict Str Str Str Str Num Num Num Num ListLoad NameLoad Dict Str Str Str Str Num Num Num Num ListLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Dict Str Str Str Num Num Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Num ListLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Dict Str Str Str Num Num Num ListLoad NameLoad Dict Str Str Str Num Num Num ListLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Dict Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Assign NameStore Dict AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad Dict Assign NameStore Dict AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad Dict Str Num Assign NameStore Dict AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Assign NameStore Dict AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad Dict Assign NameStore Dict AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Dict Str Dict Str Num Assign NameStore Call NameLoad Dict keyword NameLoad Assign NameStore Dict AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Dict Str Dict Str Num Assign NameStore Call NameLoad Dict keyword NameLoad Assign NameStore Dict AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list
N/A N/A itertools N/A six sahara.plugins exceptions ex sahara.tests.unit base sahara.tests.unit testutils tu N/A icce N/A ex InvalidComponentCountException N/A rsme N/A ex RequiredServiceMissingException make_ng_dict_with_inst N/A N/A counter name flavor processes count instances N/A None kwargs N/A N/A N/A instances N/A N/A instances N/A N/A i N/A range count N/A N/A n N/A N/A six next counter N/A instance N/A N/A tu make_inst_dict N/A N/A id{0} format n N/A N/A fake_inst{0} format n management_ip N/A N/A 1.2.3.{0} format n N/A N/A N/A instances append instance N/A N/A N/A tu make_ng_dict name flavor processes count instances kwargs N/A get_fake_cluster_with_process N/A N/A processes provided_ng_list N/A None None kwargs N/A N/A processes N/A processes N/A N/A provided_ng_list N/A provided_ng_list N/A N/A inst_counter N/A N/A itertools count start 0 N/A ng_counter N/A N/A itertools count start 0 N/A ng_id_counter N/A N/A itertools count start 0 N/A mng_ng N/A manager_ng 1 N/A CLOUDERA_MANAGER 1 N/A mst_ng N/A master_ng 1 N/A HDFS_NAMENODE HDFS_SECONDARYNAMENODE YARN_RESOURCEMANAGER YARN_JOBHISTORY 1 N/A wkrs_ng N/A worker_ng 1 N/A HDFS_DATANODE YARN_NODEMANAGER 3 N/A basic_ng_list N/A mng_ng mst_ng wkrs_ng N/A N/A CLOUDERA_MANAGER processes N/A N/A N/A N/A processes N/A CLOUDERA_MANAGER 0 N/A N/A N/A N/A basic_ng_list remove mng_ng N/A N/A N/A processes N/A CLOUDERA_MANAGER 1 N/A process N/A mst_ng N/A 2 N/A N/A N/A process processes N/A N/A N/A N/A processes N/A process 0 N/A N/A N/A N/A N/A mst_ng N/A 2 remove process N/A N/A N/A processes N/A process 1 N/A process N/A wkrs_ng N/A 2 N/A N/A N/A process processes N/A N/A N/A N/A processes N/A process 0 N/A N/A N/A N/A N/A wkrs_ng N/A 2 remove process N/A other_ng_list N/A N/A N/A process count N/A N/A six iteritems processes N/A N/A count N/A N/A ng N/A N/A N/A service_ng{0} format N/A N/A six next ng_counter 1 N/A process count N/A N/A N/A other_ng_list append ng N/A ng_list N/A N/A basic_ng_list other_ng_list provided_ng_list N/A ng_dict_list N/A N/A make_ng_dict_with_inst inst_counter id N/A N/A ng_id{0} format N/A N/A six next ng_id_counter args N/A args ng_list N/A N/A N/A tu create_cluster test_cluster 1 cdh 5 ng_dict_list kwargs N/A BaseValidationTestCase N/A N/A base SaharaTestCase N/A _test_cluster_validation N/A N/A self exception processes provided_ng_list kwargs_dict N/A None None N/A N/A provided_ng_list N/A provided_ng_list N/A N/A kwargs_dict N/A kwargs_dict N/A N/A cluster N/A get_fake_cluster_with_process processes provided_ng_list kwargs_dict N/A exception N/A N/A N/A N/A self assertRaises exception N/A N/A self module validate_cluster_creating cluster N/A N/A N/A N/A N/A self module validate_cluster_creating cluster N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super BaseValidationTestCase self setUp N/A N/A self module None N/A _get_test_cases N/A N/A self N/A N/A N/A return cases with [exception expected, progresses, configs]. N/A cases N/A N/A icce N/A CLOUDERA_MANAGER 0 N/A None N/A CLOUDERA_MANAGER 1 N/A icce N/A CLOUDERA_MANAGER 2 N/A icce N/A HDFS_NAMENODE 0 N/A None N/A HDFS_NAMENODE 1 N/A icce N/A HDFS_NAMENODE 2 N/A icce N/A HDFS_SECONDARYNAMENODE 0 N/A None N/A HDFS_SECONDARYNAMENODE 1 N/A icce N/A HDFS_SECONDARYNAMENODE 2 N/A None N/A N/A N/A cluster_configs N/A HDFS N/A dfs_replication 2 N/A None N/A N/A N/A cluster_configs N/A HDFS N/A dfs_replication 3 N/A icce N/A N/A N/A cluster_configs N/A HDFS N/A dfs_replication 4 N/A None N/A YARN_RESOURCEMANAGER 1 N/A icce N/A YARN_RESOURCEMANAGER 2 N/A None N/A YARN_JOBHISTORY 1 N/A icce N/A YARN_JOBHISTORY 2 N/A rsme N/A YARN_JOBHISTORY YARN_RESOURCEMANAGER 0 1 N/A rsme N/A YARN_RESOURCEMANAGER YARN_NODEMANAGER 0 3 N/A None N/A YARN_RESOURCEMANAGER YARN_NODEMANAGER 0 0 N/A None N/A OOZIE_SERVER 1 N/A icce N/A OOZIE_SERVER 2 N/A rsme N/A YARN_NODEMANAGER OOZIE_SERVER 0 1 N/A rsme N/A YARN_JOBHISTORY OOZIE_SERVER 0 1 N/A rsme N/A HIVE_SERVER2 HIVE_METASTORE 0 1 N/A rsme N/A HIVE_METASTORE HIVE_SERVER2 0 1 N/A rsme N/A HIVE_METASTORE HIVE_SERVER2 HIVE_WEBHCAT 0 0 1 N/A None N/A HUE_SERVER OOZIE_SERVER HIVE_METASTORE HIVE_SERVER2 1 1 1 1 N/A icce N/A HUE_SERVER OOZIE_SERVER HIVE_METASTORE HIVE_SERVER2 2 1 1 1 N/A rsme N/A HUE_SERVER OOZIE_SERVER 1 0 N/A rsme N/A HUE_SERVER OOZIE_SERVER HIVE_METASTORE 1 1 0 N/A None N/A SPARK_YARN_HISTORY_SERVER 0 N/A None N/A SPARK_YARN_HISTORY_SERVER 1 N/A icce N/A SPARK_YARN_HISTORY_SERVER 2 N/A rsme N/A HBASE_MASTER ZOOKEEPER_SERVER 1 0 N/A icce N/A HBASE_MASTER ZOOKEEPER_SERVER HBASE_REGIONSERVER 1 1 0 N/A None N/A HBASE_MASTER ZOOKEEPER_SERVER HBASE_REGIONSERVER 1 1 1 N/A icce N/A HBASE_MASTER HBASE_REGIONSERVER 0 1 N/A None N/A N/A cases N/A test_validate_cluster_creating N/A N/A self N/A N/A N/A cases N/A N/A self _get_test_cases N/A case cases N/A N/A N/A N/A self _test_cluster_validation case N/A test_validate_additional_ng_scaling N/A N/A self N/A N/A N/A cluster N/A get_fake_cluster_with_process N/A N/A additional N/A N/A N/A N/A cluster node_groups N/A 2 id 4 N/A N/A N/A N/A self module validate_additional_ng_scaling cluster additional N/A cluster N/A get_fake_cluster_with_process N/A N/A additional N/A N/A N/A N/A cluster node_groups N/A 0 id 2 N/A N/A N/A self assertRaises N/A ex NodeGroupCannotBeScaled N/A N/A self module validate_additional_ng_scaling cluster additional N/A cluster N/A get_fake_cluster_with_process N/A YARN_RESOURCEMANAGER 0 N/A additional N/A N/A N/A N/A cluster node_groups N/A 2 id 4 N/A N/A N/A self assertRaises N/A ex NodeGroupCannotBeScaled N/A N/A self module validate_additional_ng_scaling cluster additional N/A test_validate_existing_ng_scaling N/A N/A self N/A N/A N/A cluster N/A get_fake_cluster_with_process N/A N/A existing N/A N/A N/A N/A cluster node_groups N/A 2 id 4 N/A N/A N/A N/A self module validate_existing_ng_scaling cluster existing N/A cluster N/A get_fake_cluster_with_process N/A N/A existing N/A N/A N/A N/A cluster node_groups N/A 0 id 2 N/A N/A N/A self assertRaises N/A ex NodeGroupCannotBeScaled N/A N/A self module validate_existing_ng_scaling cluster existing N/A cfg N/A HDFS N/A dfs_replication 3 N/A cluster N/A get_fake_cluster_with_process N/A cluster_configs cfg N/A existing N/A N/A N/A N/A cluster node_groups N/A 2 id 2 N/A N/A N/A self assertRaises N/A ex ClusterCannotBeScaled N/A N/A self module validate_existing_ng_scaling cluster existing N/A cfg N/A HDFS N/A dfs_replication 2 N/A cluster N/A get_fake_cluster_with_process N/A cluster_configs cfg N/A existing N/A N/A N/A N/A cluster node_groups N/A 2 id 2 N/A N/A N/A N/A self module validate_existing_ng_scaling cluster existing N/A N/A