Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareIn AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad If BoolOpAnd NameLoad CompareGt Call NameLoad Call AttributeLoad NameLoad attr Num body If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore ListLoad TryExcept body For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad Call NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str Str Str NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Str If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str BinOpMod Str NameLoad keyword Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str body If CompareIsNot NameLoad NameLoad body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad BinOpAdd BinOpAdd NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Str BinOpMod Str NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Return NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str While NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str If CompareEq Call NameLoad NameLoad Num body Break Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq Call AttributeLoad NameLoad attr Str Num body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return TryExcept body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Return handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list decorator_list
N/A N/A os N/A threading N/A subprocess N/A socket N/A signal N/A logging N/A json esrally.mechanic gear esrally config cluster telemetry time exceptions esrally.track track N/A logger N/A N/A logging getLogger rally.launcher ClusterFactory N/A N/A create N/A N/A self hosts nodes metrics_store telemetry N/A N/A N/A N/A N/A cluster Cluster hosts nodes metrics_store telemetry N/A N/A Launcher N/A N/A __init__ N/A N/A self cfg cluster_factory_class N/A ClusterFactory N/A N/A N/A self cfg cfg N/A N/A self cluster_factory N/A cluster_factory_class N/A setup_index N/A N/A self cluster t track_setup N/A N/A N/A N/A N/A N/A track BenchmarkPhase index N/A track_setup benchmark N/A N/A mapping_path N/A N/A N/A self cfg opts benchmarks mapping.path N/A index N/A t indices N/A N/A N/A N/A logger debug N/A Creating index [%s] N/A index name N/A settings N/A N/A track_setup candidate index_settings N/A N/A master settings N/A N/A distribution_version N/A N/A N/A self cfg opts source distribution.version mandatory False N/A N/A distribution_version N/A N/A len N/A N/A distribution_version strip 0 N/A N/A N/A distribution_version settings N/A N/A index_settings N/A settings N/A distribution_version N/A N/A N/A N/A exceptions SystemSetupError N/A Could not find index settings for Elasticsearch version [%s] distribution_version N/A N/A index_settings N/A settings N/A master N/A N/A index_settings settings N/A N/A N/A N/A N/A cluster client indices create index N/A index name body index_settings N/A type N/A index types N/A N/A mappings N/A N/A N/A open N/A mapping_path N/A type read N/A N/A N/A logger debug N/A create mapping for type [%s] in index [%s] N/A N/A type name N/A index name N/A N/A N/A logger debug mappings N/A N/A N/A N/A N/A cluster client indices put_mapping index N/A index name doc_type N/A type name body N/A N/A json loads mappings N/A N/A N/A cluster wait_for_status_green N/A N/A ExternalLauncher N/A Launcher N/A __init__ N/A N/A self cfg cluster_factory_class N/A ClusterFactory N/A N/A N/A N/A N/A super __init__ cfg cluster_factory_class N/A start N/A N/A self track setup metrics_store N/A N/A N/A configured_host_list N/A N/A N/A self cfg opts launcher external.target.hosts N/A hosts N/A N/A N/A N/A authority configured_host_list N/A N/A N/A host port N/A N/A authority split : N/A N/A N/A hosts append N/A host port host port N/A N/A N/A ValueError N/A N/A msg N/A Could not initialize external cluster. Invalid format for %s. Expected a comma-separated list of host:port pairs, e.g. host1:9200,host2:9200. configured_host_list N/A N/A N/A logger exception msg N/A N/A N/A exceptions SystemSetupError msg N/A t N/A N/A telemetry Telemetry N/A self cfg metrics_store devices N/A N/A N/A telemetry ExternalEnvironmentInfo N/A self cfg metrics_store N/A N/A telemetry NodeStats N/A self cfg metrics_store N/A N/A telemetry IndexStats N/A self cfg metrics_store N/A c N/A N/A N/A self cluster_factory create hosts N/A metrics_store t N/A N/A N/A t attach_to_cluster c N/A N/A N/A self setup_index c track setup N/A c N/A N/A InProcessLauncher N/A Launcher N/A N/A 
    Launcher is responsible for starting and stopping the benchmark candidate.

    Currently, only local launching is supported.
     N/A PROCESS_WAIT_TIMEOUT_SECONDS 20.0 __init__ N/A N/A self cfg clock cluster_factory_class N/A N/A time Clock ClusterFactory N/A N/A N/A N/A N/A super __init__ cfg cluster_factory_class N/A N/A self _clock clock N/A N/A self _servers N/A N/A start N/A N/A self track setup metrics_store N/A N/A N/A N/A self _servers N/A N/A N/A N/A logger warn There are still referenced servers on startup. Did the previous shutdown succeed? N/A num_nodes N/A N/A setup candidate nodes N/A first_http_port N/A N/A N/A self cfg opts provisioning node.http.port N/A t N/A N/A telemetry Telemetry N/A self cfg metrics_store N/A c N/A N/A N/A self cluster_factory create N/A N/A host port localhost first_http_port N/A N/A N/A self _start_node node setup metrics_store N/A node N/A range num_nodes metrics_store t N/A N/A N/A t attach_to_cluster c N/A N/A N/A self setup_index c track setup N/A c N/A _start_node N/A N/A self node setup metrics_store N/A N/A N/A node_name N/A N/A self _node_name node N/A host_name N/A N/A socket gethostname N/A t N/A N/A telemetry Telemetry N/A self cfg metrics_store N/A env N/A N/A self _prepare_env setup node_name t N/A cmd N/A N/A self prepare_cmd setup node_name N/A process N/A N/A self _start_process cmd env node_name N/A node N/A N/A cluster Node process host_name node_name t N/A N/A N/A t attach_to_node node N/A node N/A _prepare_env N/A N/A self setup node_name t N/A N/A N/A env N/A N/A N/A N/A env update N/A os environ N/A N/A k v N/A N/A N/A N/A t instrument_candidate_env setup node_name items N/A N/A N/A N/A self _set_env env k v N/A java_opts N/A N/A N/A setup candidate heap N/A N/A java_opts N/A -Xms%s -Xmx%s  N/A N/A N/A setup candidate heap N/A N/A setup candidate heap N/A N/A N/A setup candidate java_opts N/A N/A java_opts N/A N/A setup candidate java_opts N/A N/A N/A len java_opts 0 N/A N/A N/A N/A self _set_env env ES_JAVA_OPTS java_opts N/A N/A N/A self _set_env env ES_GC_OPTS N/A N/A setup candidate gc_opts N/A java_home N/A N/A N/A N/A gear Gear N/A self cfg capability N/A N/A gear Capability java N/A N/A N/A self _set_env env PATH N/A %s/bin java_home separator : N/A N/A env N/A JAVA_HOME java_home N/A N/A N/A logger info N/A ENV: %s N/A str env N/A env N/A _set_env N/A N/A self env k v separator N/A N/A N/A N/A v None N/A N/A N/A k env N/A N/A N/A env N/A k v N/A N/A N/A env N/A k N/A N/A v separator N/A env N/A k N/A prepare_cmd N/A N/A self setup node_name N/A N/A N/A server_log_dir N/A %s/server N/A N/A N/A self cfg opts system track.setup.log.dir N/A N/A N/A N/A self cfg add N/A N/A config Scope invocation launcher candidate.log.dir server_log_dir N/A processor_count N/A N/A setup candidate processors N/A cmd N/A bin/elasticsearch N/A -Ees.node.name=%s node_name N/A N/A N/A processor_count None N/A processor_count 1 N/A N/A N/A N/A cmd append N/A -Ees.processors=%s processor_count N/A N/A N/A cmd append N/A -Ees.path.logs=%s server_log_dir N/A N/A N/A logger info N/A ES launch: %s N/A str cmd N/A cmd N/A _start_process N/A N/A self cmd env node_name N/A N/A N/A install_dir N/A N/A N/A self cfg opts provisioning local.binary.path N/A N/A N/A os chdir install_dir N/A startup_event N/A N/A threading Event N/A process N/A N/A subprocess Popen cmd stdout N/A subprocess PIPE stderr N/A subprocess STDOUT stdin N/A subprocess DEVNULL env env N/A t N/A N/A threading Thread target N/A self _read_output args N/A node_name process startup_event N/A N/A N/A t setDaemon True N/A N/A N/A t start N/A N/A N/A startup_event wait timeout N/A InProcessLauncher PROCESS_WAIT_TIMEOUT_SECONDS N/A N/A N/A N/A logger info N/A Started node=%s with pid=%s N/A node_name N/A process pid N/A process N/A N/A log_dir N/A N/A N/A self cfg opts system log.dir N/A msg N/A Could not start node '%s' within timeout period of %s seconds. N/A node_name N/A InProcessLauncher PROCESS_WAIT_TIMEOUT_SECONDS N/A N/A N/A logger error msg N/A N/A N/A exceptions LaunchError N/A %s Please check the logs in '%s' for more details. N/A msg log_dir N/A _node_name N/A N/A self node N/A N/A N/A prefix N/A N/A N/A self cfg opts provisioning node.name.prefix N/A N/A %s%d N/A prefix node N/A _read_output N/A N/A self node_name server startup_event N/A N/A N/A 
        Reads the output from the ES (node) subprocess.
         N/A True N/A N/A l N/A N/A N/A N/A N/A server stdout readline decode utf-8 N/A N/A N/A len l 0 N/A N/A N/A l N/A N/A l rstrip N/A N/A N/A N/A l find Initialization Failed -1 N/A N/A N/A N/A startup_event set N/A N/A N/A logger info N/A %s: %s N/A node_name N/A N/A l replace N/A 
%s (stdout):  node_name N/A N/A N/A N/A l endswith started N/A N/A N/A startup_event isSet N/A N/A N/A N/A startup_event set N/A N/A N/A logger info N/A %s: started node_name N/A stop N/A N/A self cluster N/A N/A N/A N/A N/A logger info Shutting down ES cluster N/A stop_watch N/A N/A N/A self _clock stop_watch N/A N/A N/A stop_watch start N/A node N/A cluster nodes N/A N/A process N/A node process N/A N/A N/A N/A node telemetry detach_from_node node N/A N/A N/A os kill N/A process pid N/A signal SIGINT N/A N/A N/A N/A N/A process wait 10.0 N/A N/A N/A logger info N/A Done shutdown node (%.1f sec) N/A N/A stop_watch split_time N/A N/A N/A N/A subprocess TimeoutExpired N/A N/A N/A N/A logger warn N/A Server %s did not shut down itself after 10 seconds; now kill -QUIT node, to see threads: N/A node node_name N/A N/A N/A N/A N/A os kill N/A process pid N/A signal SIGQUIT N/A N/A N/A OSError N/A N/A N/A N/A logger warn   no such process N/A N/A N/A N/A N/A N/A process wait 120.0 N/A N/A N/A logger info N/A Done shutdown node (%.1f sec) N/A N/A stop_watch split_time N/A N/A N/A N/A N/A subprocess TimeoutExpired N/A N/A N/A N/A N/A logger info kill -KILL node N/A N/A N/A N/A N/A process kill N/A N/A N/A ProcessLookupError N/A N/A N/A N/A logger warn No such process N/A N/A N/A N/A cluster telemetry detach_from_cluster cluster N/A N/A self _servers N/A N/A N/A