Module Import alias ImportFrom alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr NameStore body Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A mock sahara.plugins.cdh.v5 plugin_utils pu sahara.tests.unit.plugins.cdh base_plugin_utils_test TestPluginUtilsV5 N/A N/A base_plugin_utils_test TestPluginUtils N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestPluginUtilsV5 self setUp N/A N/A self plug_utils N/A N/A pu PluginUtilsV5 N/A N/A self version v5 N/A test_create_hive_hive_directory N/A N/A self log_cfg N/A N/A N/A cluster N/A N/A base_plugin_utils_test get_concrete_cluster N/A namenode N/A N/A N/A N/A cluster node_groups N/A 1 instances N/A 0 N/A N/A N/A N/A self plug_utils create_hive_hive_directory cluster N/A N/A N/A namenode remote r N/A N/A calls N/A N/A N/A mock call sudo su - -c "hadoop fs -mkdir -p /tmp/hive-hive" hdfs N/A N/A mock call sudo su - -c "hadoop fs -chown hive /tmp/hive-hive" hdfs N/A N/A N/A N/A r execute_command assert_has_calls calls any_order False N/A N/A N/A mock patch sahara.config.CONF.disable_event_log N/A