Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str ListLoad Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str For NameStore ListLoad AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num For NameStore ListLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str ListLoad Str For NameStore ListLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Assign NameStore BinOpMod Call AttributeLoad NameLoad attr Dict Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Return BinOpMod NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str Expr Call AttributeLoad NameLoad attr CompareIn BinOpMod NameLoad NameLoad NameLoad BinOpMod Str TupleLoad BinOpMod NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword NameLoad For NameStore ListLoad AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod NameLoad Dict Str Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod NameLoad Dict Str Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str While BoolOpAnd UnaryOpNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return Str ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Product tests for presto-admin connector support.
 N/A json N/A os nose.plugins.attrib attr prestoadmin.standalone.config PRESTO_STANDALONE_USER prestoadmin.util constants tests.no_hadoop_bare_image_provider NoHadoopBareImageProvider tests.product.base_product_case BaseProductTestCase docker_only PrestoError tests.product.constants LOCAL_RESOURCES_DIR tests.product.standalone.presto_installer StandalonePrestoInstaller TestConnectors N/A BaseProductTestCase N/A setup_cluster_assert_connectors N/A N/A self N/A N/A N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self STANDALONE_PRESTO_CLUSTER N/A N/A N/A self run_prestoadmin server start N/A host N/A N/A N/A self cluster all_hosts N/A N/A N/A N/A self assert_has_default_connector host N/A N/A N/A self _assert_connectors_loaded N/A N/A system N/A tpch N/A test_basic_connector_add_remove N/A N/A self N/A N/A N/A N/A N/A self setup_cluster_assert_connectors N/A N/A N/A self run_prestoadmin connector remove tpch N/A N/A N/A self run_prestoadmin server restart N/A N/A N/A self assert_path_removed N/A N/A self cluster master N/A N/A N/A os path join N/A constants CONNECTORS_DIR tpch.properties N/A N/A N/A self _assert_connectors_loaded N/A N/A system N/A host N/A N/A N/A self cluster all_hosts N/A N/A N/A N/A self assert_path_removed host N/A N/A N/A os path join N/A constants REMOTE_CATALOG_DIR tcph.properties N/A N/A N/A N/A self cluster write_content_to_host connector.name=tpch N/A N/A N/A os path join N/A constants CONNECTORS_DIR tpch.properties N/A N/A self cluster master N/A N/A N/A self run_prestoadmin connector add N/A N/A N/A self run_prestoadmin server restart N/A host N/A N/A N/A self cluster all_hosts N/A N/A N/A N/A self assert_has_default_connector host N/A N/A N/A self _assert_connectors_loaded N/A N/A system N/A tpch N/A N/A attr smoketest test_connector_add_remove_coord_worker_using_dash_h N/A N/A self N/A N/A N/A N/A N/A self setup_cluster_assert_connectors N/A N/A N/A self run_prestoadmin connector remove tpch -H %(master)s,%(slave1)s N/A N/A N/A self run_prestoadmin server restart N/A N/A N/A self assert_path_removed N/A N/A self cluster master N/A N/A N/A os path join N/A constants CONNECTORS_DIR tpch.properties N/A N/A N/A self _assert_connectors_loaded N/A N/A system N/A host N/A N/A N/A self cluster master N/A N/A N/A self cluster slaves N/A 0 N/A N/A N/A N/A self assert_path_removed host N/A N/A N/A os path join N/A constants REMOTE_CATALOG_DIR tpch.properties N/A N/A N/A self assert_has_default_connector N/A N/A N/A self cluster slaves N/A 1 N/A N/A N/A self assert_has_default_connector N/A N/A N/A self cluster slaves N/A 2 N/A N/A N/A N/A self cluster write_content_to_host connector.name=tpch N/A N/A N/A os path join N/A constants CONNECTORS_DIR tpch.properties N/A N/A self cluster master N/A N/A N/A self run_prestoadmin connector add tpch -H %(master)s,%(slave1)s N/A N/A N/A self run_prestoadmin server restart N/A N/A N/A self assert_has_default_connector N/A N/A self cluster master N/A N/A N/A self assert_has_default_connector N/A N/A N/A self cluster slaves N/A 1 N/A test_connector_add_remove_coord_worker_using_dash_x N/A N/A self N/A N/A N/A N/A N/A self setup_cluster_assert_connectors N/A N/A N/A self run_prestoadmin connector remove tpch -x %(master)s,%(slave1)s N/A N/A N/A self run_prestoadmin server restart N/A N/A N/A self _assert_connectors_loaded N/A N/A system N/A tpch N/A N/A N/A self assert_has_default_connector N/A N/A self cluster master N/A N/A N/A self assert_has_default_connector N/A N/A N/A self cluster slaves N/A 0 N/A host N/A N/A N/A N/A self cluster slaves N/A 1 N/A N/A N/A self cluster slaves N/A 2 N/A N/A N/A N/A self assert_path_removed host N/A N/A N/A os path join N/A constants REMOTE_CATALOG_DIR tpch.properties N/A N/A N/A N/A self cluster write_content_to_host connector.name=tpch N/A N/A N/A os path join N/A constants CONNECTORS_DIR tpch.properties N/A N/A self cluster master N/A N/A N/A self run_prestoadmin connector add tpch -x %(master)s,%(slave1)s N/A N/A N/A self run_prestoadmin server restart N/A N/A N/A self _assert_connectors_loaded N/A N/A system N/A tpch N/A slave N/A N/A N/A N/A self cluster slaves N/A 1 N/A N/A N/A self cluster slaves N/A 2 N/A N/A N/A N/A self assert_has_default_connector slave N/A test_connector_add_wrong_permissions N/A N/A self N/A N/A N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self STANDALONE_PRESTO_CLUSTER N/A script chmod 600 /etc/opt/prestoadmin/connectors/tpch.properties; su app-admin -c "./presto-admin connector add tpch" N/A output N/A N/A self run_script_from_prestoadmin_dir script N/A N/A open N/A N/A N/A os path join LOCAL_RESOURCES_DIR connector_permissions_warning.txt r f N/A N/A expected N/A N/A N/A f read N/A master slave1 slave2 slave3 N/A N/A self cluster internal_master N/A N/A N/A self cluster internal_slaves N/A 0 N/A N/A N/A self cluster internal_slaves N/A 1 N/A N/A N/A self cluster internal_slaves N/A 2 N/A N/A N/A self assertEqualIgnoringOrder expected output N/A script chmod 600 /etc/opt/prestoadmin/connectors; su app-admin -c "./presto-admin connector add" N/A output N/A N/A self run_script_from_prestoadmin_dir script N/A permission_error 
Warning: [slave3] Permission denied


Warning: [slave2] Permission denied


Warning: [slave1] Permission denied


Warning: [master] Permission denied

 N/A N/A N/A self assertEqualIgnoringOrder output permission_error N/A script chmod 600 /etc/opt/prestoadmin/connectors; su app-admin -c "./presto-admin connector add tpch" N/A not_found_error N/A N/A self fatal_error Configuration for connector tpch not found N/A N/A N/A self assertRaisesRegexp OSError not_found_error N/A self run_script_from_prestoadmin_dir script N/A docker_only test_connector_add_missing_connector N/A N/A self N/A N/A N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self STANDALONE_PRESTO_CLUSTER N/A not_found_error N/A N/A self fatal_error Configuration for connector tpch not found N/A N/A N/A self run_prestoadmin connector remove tpch N/A N/A N/A self assertRaisesRegexp OSError not_found_error N/A self run_prestoadmin connector add tpch N/A test_connector_add_no_dir N/A N/A self N/A N/A N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self STANDALONE_PRESTO_CLUSTER N/A N/A N/A N/A self cluster exec_cmd_on_host N/A N/A self cluster master rm -r /etc/opt/prestoadmin/connectors N/A missing_dir_error N/A N/A self fatal_error Cannot add connectors because directory /etc/opt/prestoadmin/connectors does not exist N/A N/A N/A self assertRaisesRegexp OSError missing_dir_error N/A self run_prestoadmin connector add N/A test_connector_add_by_name N/A N/A self N/A N/A N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self STANDALONE_PRESTO_CLUSTER N/A N/A N/A self run_prestoadmin connector remove tpch N/A N/A N/A N/A self cluster write_content_to_host connector.name=tpch N/A N/A N/A os path join N/A constants CONNECTORS_DIR tpch.properties N/A N/A self cluster master N/A N/A N/A self run_prestoadmin connector add tpch N/A N/A N/A self run_prestoadmin server start N/A host N/A N/A N/A self cluster all_hosts N/A N/A N/A N/A self assert_has_default_connector host N/A N/A N/A self _assert_connectors_loaded N/A N/A system N/A tpch N/A test_connector_add_empty_dir N/A N/A self N/A N/A N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self STANDALONE_PRESTO_CLUSTER N/A output N/A N/A self run_prestoadmin connector remove tpch N/A output N/A N/A self run_prestoadmin connector add N/A expected 
Warning: [slave3] Directory /etc/opt/prestoadmin/connectors is empty. No connectors will be deployed


Warning: [slave2] Directory /etc/opt/prestoadmin/connectors is empty. No connectors will be deployed


Warning: [slave1] Directory /etc/opt/prestoadmin/connectors is empty. No connectors will be deployed


Warning: [master] Directory /etc/opt/prestoadmin/connectors is empty. No connectors will be deployed

 N/A N/A N/A self assertEqualIgnoringOrder expected output N/A test_connector_add_two_connectors N/A N/A self N/A N/A N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self STANDALONE_PRESTO_CLUSTER N/A N/A N/A self run_prestoadmin connector remove tpch N/A N/A N/A N/A self cluster write_content_to_host connector.name=tpch N/A N/A N/A os path join N/A constants CONNECTORS_DIR tpch.properties N/A N/A self cluster master N/A N/A N/A N/A self cluster write_content_to_host connector.name=jmx N/A N/A N/A os path join N/A constants CONNECTORS_DIR jmx.properties N/A N/A self cluster master N/A N/A N/A self run_prestoadmin connector add N/A N/A N/A self run_prestoadmin server start N/A host N/A N/A N/A self cluster all_hosts N/A N/A filepath /etc/presto/catalog/jmx.properties N/A N/A N/A self assert_has_default_connector host N/A N/A N/A self assert_file_perm_owner host filepath -rw------- presto presto N/A N/A N/A self assert_file_content host filepath connector.name=jmx N/A N/A N/A self _assert_connectors_loaded N/A N/A system N/A jmx N/A tpch N/A fatal_error N/A N/A self error N/A N/A N/A message 
Fatal error: %(error)s

Underlying exception:
    %(error)s

Aborting.
 N/A N/A message N/A error error N/A test_connector_add_lost_host N/A N/A self N/A N/A N/A installer N/A StandalonePrestoInstaller self N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self PA_ONLY_CLUSTER N/A N/A N/A self upload_topology N/A N/A N/A installer install N/A N/A N/A self run_prestoadmin connector remove tpch N/A N/A N/A N/A self cluster stop_host N/A N/A N/A self cluster slaves N/A 0 N/A N/A N/A N/A self cluster write_content_to_host connector.name=tpch N/A N/A N/A os path join N/A constants CONNECTORS_DIR tpch.properties N/A N/A self cluster master N/A output N/A N/A self run_prestoadmin connector add tpch raise_error False N/A host N/A N/A N/A self cluster all_internal_hosts N/A N/A deploying_message Deploying tpch.properties connector configurations on: %s N/A N/A N/A self assertTrue N/A N/A deploying_message host output N/A expected %s 
 actual %s N/A N/A deploying_message host output N/A N/A N/A self assertRegexpMatches output N/A N/A self down_node_connection_error N/A N/A N/A self cluster internal_slaves N/A 0 N/A N/A N/A self assertEqual N/A len N/A N/A output splitlines N/A N/A len N/A N/A N/A self cluster all_hosts N/A self len_down_node_error N/A N/A N/A self run_prestoadmin server start raise_error False N/A host N/A N/A N/A self cluster master N/A N/A N/A self cluster slaves N/A 1 N/A N/A N/A self cluster slaves N/A 2 N/A N/A N/A N/A self assert_has_default_connector host N/A N/A N/A self _assert_connectors_loaded N/A N/A system N/A tpch N/A test_connector_remove N/A N/A self N/A N/A N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self STANDALONE_PRESTO_CLUSTER N/A host N/A N/A N/A self cluster all_hosts N/A N/A N/A N/A self assert_has_default_connector host N/A missing_connector_message [Errno 1] 
Fatal error: [master] Could not remove connector '%(name)s'. No such file '/etc/presto/catalog/%(name)s.properties'

Aborting.

Fatal error: [slave1] Could not remove connector '%(name)s'. No such file '/etc/presto/catalog/%(name)s.properties'

Aborting.

Fatal error: [slave2] Could not remove connector '%(name)s'. No such file '/etc/presto/catalog/%(name)s.properties'

Aborting.

Fatal error: [slave3] Could not remove connector '%(name)s'. No such file '/etc/presto/catalog/%(name)s.properties'

Aborting.
 N/A success_message [master] Connector removed. Restart the server for the change to take effect
[slave1] Connector removed. Restart the server for the change to take effect
[slave2] Connector removed. Restart the server for the change to take effect
[slave3] Connector removed. Restart the server for the change to take effect N/A N/A N/A self assertRaisesMessageIgnoringOrder OSError N/A missing_connector_message N/A name jmx N/A self run_prestoadmin connector remove jmx N/A N/A N/A N/A self cluster exec_cmd_on_host N/A N/A self cluster master rm /etc/opt/prestoadmin/connectors/tpch.properties N/A output N/A N/A self run_prestoadmin connector remove tpch N/A N/A N/A self assertEqualIgnoringOrder success_message output N/A N/A N/A N/A self cluster write_content_to_host connector.name=tpch N/A N/A N/A os path join N/A constants CONNECTORS_DIR tpch.properties N/A N/A self cluster master N/A N/A N/A self assertRaisesMessageIgnoringOrder OSError N/A missing_connector_message N/A name tpch N/A self run_prestoadmin connector remove tpch N/A test_connector_name_not_found N/A N/A self N/A N/A N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self STANDALONE_PRESTO_CLUSTER N/A N/A N/A self run_prestoadmin server start N/A N/A N/A N/A self cluster write_content_to_host connector.noname=example N/A N/A N/A os path join N/A constants CONNECTORS_DIR example.properties N/A N/A self cluster master N/A expected N/A N/A self fatal_error Catalog configuration example.properties does not contain connector.name N/A N/A N/A self assertRaisesRegexp OSError expected N/A self run_prestoadmin connector add example N/A test_connector_add_no_presto_user N/A N/A self N/A N/A N/A N/A N/A self setup_cluster N/A NoHadoopBareImageProvider N/A self STANDALONE_PRESTO_CLUSTER N/A host N/A N/A N/A self cluster all_hosts N/A N/A N/A N/A N/A self cluster exec_cmd_on_host host N/A userdel %s N/A PRESTO_STANDALONE_USER N/A N/A N/A self assertRaisesRegexp OSError User presto does not exist N/A self run_prestoadmin connector add tpch N/A get_connector_info N/A N/A self N/A N/A N/A output N/A N/A N/A self cluster exec_cmd_on_host N/A N/A self cluster master curl --silent -X POST http://localhost:8080/v1/statement -H 'X-Presto-User:$USER' -H 'X-Presto-Schema:metadata' -H 'X-Presto-Catalog:system' -d 'select catalog_name from catalogs' N/A data N/A N/A self get_key_value output data N/A next_uri N/A N/A self get_key_value output nextUri N/A N/A N/A data next_uri N/A N/A output N/A N/A N/A self cluster exec_cmd_on_host N/A N/A self cluster master N/A curl --silent %s N/A N/A self get_key_value output nextUri N/A data N/A N/A self get_key_value output data N/A next_uri N/A N/A self get_key_value output nextUri N/A N/A data N/A N/A N/A PrestoError N/A Could not get catalogs from json output. Output was: 
%s output N/A data N/A get_key_value N/A N/A self text key N/A N/A N/A N/A N/A N/A N/A N/A json loads text N/A key N/A N/A N/A KeyError N/A N/A N/A N/A ValueError N/A e N/A N/A N/A ValueError N/A N/A N/A e message text N/A _assert_connectors_loaded N/A N/A self expected_connectors N/A N/A N/A N/A N/A self retry N/A N/A N/A N/A N/A N/A self assertEqual expected_connectors N/A N/A self get_connector_info N/A N/A