Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If NameLoad body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad orelse Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Return ListLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Str keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body If Call NameLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str If NameLoad body Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Print Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore SubscriptLoad Call NameLoad NameLoad Index Num orelse TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A 
Module for installing presto on a cluster.
 N/A fnmatch N/A os N/A urllib N/A prestoadmin tests.base_installer BaseInstaller tests.docker_cluster DockerCluster tests.product.mode_installers StandaloneModeInstaller tests.product.prestoadmin_installer PrestoadminInstaller tests.product.topology_installer TopologyInstaller N/A RPM_BASENAME presto.* N/A PRESTO_RPM_GLOB presto*.rpm N/A PACKAGE_NAME presto-server-rpm StandalonePrestoInstaller N/A BaseInstaller N/A __init__ N/A N/A self testcase rpm_location N/A None N/A N/A rpm_location N/A N/A N/A N/A self rpm_dir N/A self rpm_name rpm_location N/A N/A N/A N/A self rpm_dir N/A self rpm_name N/A N/A self _detect_presto_rpm N/A N/A self testcase testcase N/A get_dependencies N/A N/A N/A N/A N/A N/A PrestoadminInstaller StandaloneModeInstaller TopologyInstaller N/A staticmethod install N/A N/A self extra_configs coordinator pa_raise_error N/A None None True N/A N/A cluster N/A N/A self testcase cluster N/A rpm_name N/A N/A self copy_presto_rpm_to_master cluster cluster N/A N/A N/A N/A self testcase write_test_configs cluster extra_configs coordinator N/A cmd_output N/A N/A N/A self testcase run_prestoadmin N/A server install  N/A N/A N/A os path join N/A cluster mount_dir rpm_name cluster cluster raise_error pa_raise_error N/A cmd_output N/A get_keywords N/A N/A self N/A N/A N/A N/A rpm rpm_basename N/A self rpm_name RPM_BASENAME N/A assert_installed N/A N/A testcase container msg cluster N/A None None None N/A N/A N/A cluster N/A N/A cluster N/A testcase cluster N/A N/A container N/A N/A container N/A N/A cluster get_master N/A N/A N/A check_rpm N/A N/A cluster exec_cmd_on_host container N/A rpm -q %s N/A PACKAGE_NAME N/A N/A N/A testcase assertRegexpMatches check_rpm N/A RPM_BASENAME msg msg N/A N/A N/A OSError N/A e N/A N/A N/A isinstance N/A testcase cluster DockerCluster N/A N/A N/A N/A N/A cluster client commit N/A cluster master db_error_master N/A N/A N/A N/A cluster client commit N/A N/A cluster slaves N/A 0 db_error_slave0 N/A N/A N/A N/A cluster client commit N/A N/A cluster slaves N/A 1 db_error_slave1 N/A N/A N/A N/A cluster client commit N/A N/A cluster slaves N/A 2 db_error_slave2 N/A msg N/A N/A error_message N/A N/A N/A e strerror msg N/A N/A error_message N/A e strerror N/A N/A N/A testcase fail msg error_message N/A staticmethod copy_presto_rpm_to_master N/A N/A self cluster N/A None N/A N/A N/A cluster N/A N/A cluster N/A N/A self testcase cluster N/A rpm_path N/A N/A N/A os path join N/A self rpm_dir N/A self rpm_name N/A N/A N/A N/A N/A cluster copy_to_host rpm_path N/A cluster master N/A N/A N/A self _check_if_corrupted_rpm N/A self rpm_name cluster N/A N/A N/A OSError N/A N/A Downloading RPM again N/A N/A N/A StandalonePrestoInstaller _download_rpm N/A N/A N/A cluster copy_to_host rpm_path N/A cluster master N/A N/A N/A self _check_if_corrupted_rpm N/A self rpm_name cluster N/A N/A self rpm_name N/A _download_rpm N/A N/A N/A N/A N/A rpm_filename presto-server-rpm.rpm N/A rpm_path N/A N/A N/A os path join N/A prestoadmin main_dir rpm_filename N/A N/A N/A urllib urlretrieve https://repository.sonatype.org/service/local/artifact/maven/content?r=central-proxy&g=com.facebook.presto&a=presto-server-rpm&e=rpm&v=RELEASE rpm_path N/A rpm_filename N/A staticmethod _detect_presto_rpm N/A N/A N/A N/A N/A 
        Detects the Presto RPM in the main directory of presto-admin.
        Returns the name of the RPM, if it exists, else returns None.
         N/A rpm_names N/A N/A fnmatch filter N/A N/A os listdir N/A prestoadmin main_dir PRESTO_RPM_GLOB N/A rpm_names N/A N/A rpm_name N/A N/A sorted rpm_names N/A -1 N/A N/A N/A N/A rpm_name N/A N/A StandalonePrestoInstaller _download_rpm N/A N/A N/A N/A rpm_name N/A N/A StandalonePrestoInstaller _download_rpm N/A N/A N/A prestoadmin main_dir rpm_name N/A staticmethod _check_if_corrupted_rpm N/A N/A rpm_name cluster N/A N/A N/A N/A N/A cluster exec_cmd_on_host N/A cluster master N/A rpm -K --nosignature  N/A N/A N/A os path join N/A cluster mount_dir rpm_name N/A staticmethod assert_uninstalled N/A N/A self container msg N/A None N/A N/A failure_msg N/A package %s is not installed N/A PACKAGE_NAME N/A rpm_cmd N/A rpm -q %s N/A PACKAGE_NAME N/A N/A N/A N/A self testcase assertRaisesRegexp OSError failure_msg N/A N/A N/A self testcase cluster exec_cmd_on_host container rpm_cmd msg msg N/A N/A