Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore Call NameLoad keyword BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Num keyword Str Expr TupleLoad Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If BoolOpAnd CompareLt Call NameLoad NameLoad Num NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If CompareEq Call AttributeLoad NameLoad attr Str NameLoad body Print AttributeLoad NameLoad attr BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr Num If CompareEq Call AttributeLoad NameLoad attr Str NameLoad body Print AttributeLoad NameLoad attr BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareEq AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Return SubscriptLoad NameLoad Index Num orelse Print BinOpAdd Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareNotEq Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Print NameLoad If CompareGt Call NameLoad NameLoad NameLoad body Assign NameStore Str For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad Assign NameStore ListLoad NameLoad NameLoad For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr ListLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Num Num Str Print Str TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword ListLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler body Print AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpMod Str NameLoad Assign NameStore ListLoad If CompareGt AttributeLoad NameLoad attr Num body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword AttributeLoad NameLoad attr AugAssignAdd NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad If CompareGt AttributeLoad NameLoad attr Num body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword AttributeLoad NameLoad attr AugAssignAdd NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Print Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body While NameLoad body Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad BoolOpAnd CompareIn AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad NameLoad body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Break orelse Print BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad handlers ExceptHandler body Print Str Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad If NameLoad body Print AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num orelse Print Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body While NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr If CompareGt Call NameLoad ListComp NameLoad comprehension NameStore NameLoad CompareEq AttributeLoad NameLoad attr Str Num body Expr Call AttributeLoad NameLoad attr Num orelse Return decorator_list FunctionDef arguments args NameParam defaults body Return CompareIn AttributeLoad NameLoad attr ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr If CompareEq NameLoad ListLoad BinOpMod Str NameLoad body AugAssignAdd NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad ListLoad BinOpMod Str NameLoad body AugAssignAdd NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareNotEq NameLoad ListLoad CompareNotEq NameLoad ListLoad body Print BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Print Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareNotEq AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Print AttributeLoad NameLoad attr Print Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareNotEq AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Print AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad orelse Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad Str attr ListComp BinOpMod Str AttributeLoad NameLoad attr comprehension NameStore NameLoad Call AttributeLoad Str attr ListComp BinOpMod Str AttributeLoad NameLoad attr comprehension NameStore NameLoad Call AttributeLoad Str attr ListComp BinOpMod Str AttributeLoad NameLoad attr comprehension NameStore NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad Str attr ListComp BinOpMod Str AttributeLoad NameLoad attr comprehension NameStore NameLoad Call AttributeLoad Str attr ListComp BinOpMod Str AttributeLoad NameLoad attr comprehension NameStore NameLoad BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Slice Num If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad For NameStore NameLoad body If BoolOpAnd CompareNotIn SubscriptLoad NameLoad Index Num Str CompareNotEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameStore body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Str Str body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Print BinOpMod Str AttributeLoad NameLoad attr Assign NameStore BinOpMod BinOpAdd Str Str TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Str Str body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Print BinOpMod Str NameLoad Assign NameStore BinOpMod BinOpAdd Str Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print BinOpMod Str AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Str Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Str Print Str Expr Call NameLoad NameLoad NameLoad Str Print Str Expr Call NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Str Expr Call NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Str Expr Call NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Str Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str Print Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Str decorator_list Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr Str body Print Str Return Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Print BinOpAdd Str NameLoad Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Str Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore SubscriptLoad NameLoad Slice Num NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str Print Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad BinOpAdd BinOpAdd Str Str Str If CompareEq NameLoad Str body Print Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Print Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad NameLoad Expr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Print BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Print BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad Return If BoolOpAnd CompareEq NameLoad Str CompareLt Call NameLoad NameLoad Num body Print Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Print Str Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Print BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print BinOpMod Str NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad NameLoad orelse Print BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A boto N/A os N/A sys N/A tempfile N/A time N/A subprocess N/A shutil N/A random optparse OptionParser parse_args N/A N/A force_action N/A True N/A N/A parser N/A OptionParser usage N/A sparrow-exp <action> <cluster> [options] 

<action> can be: launch, deploy, start-sparrow, stop-sparrow, start-proto, stop-proto, start-hdfs, stop-hdfs, start-sparrow-throughput, start-spark-shark, stop-spark, restart-spark-shark, command, collect-logs, destroy, login-fe, login-be, create-database, create-tpch-tables, start-shark-tpch N/A N/A N/A parser add_option -z --zone default us-east-1d help Availability zone to launch instances in N/A N/A N/A parser add_option -a --ami default ami-533a733a help Amazon Machine Image ID to use (use ami-894801e0 for HVM instance types) N/A N/A N/A parser add_option -t --instance-type default m2.2xlarge help N/A Type of instance to launch (default: m2.2xlarge).  WARNING: must be 64 bit, thus small instances won't work N/A N/A N/A parser add_option -l --arrival-rate type float default 1 help Arrival rate of jobs in proto frontends (jobs/s) N/A N/A N/A parser add_option -k --key-pair help Key pair to use on instances N/A N/A N/A parser add_option -i --identity-file help SSH private key file to use for logging into instances N/A N/A N/A parser add_option -f --frontends type int default 1 help Number of frontends to launch (default: 1) N/A N/A N/A parser add_option -b --backends type int default 1 help Number of backends to launch (default: 1) N/A N/A N/A parser add_option -w --wait type int default 0 help Number of seconds to wait for cluster nodes to boot (default: 0) N/A N/A N/A parser add_option -g --branch default master help Which git branch to checkout N/A N/A N/A parser add_option -s --spark-branch default sparrow help Which git branch to checkout (for spark) N/A N/A N/A parser add_option -d --log-dir default /tmp/ help Local directory into which log files are copied N/A N/A N/A parser add_option -n --tasks-per-job type int default 1 help Number of tasks to launch for each job in prototype N/A N/A N/A parser add_option -x --num-preferred-nodes type int default 0 help Number of preferred nodes to use in the prototype frontend (0 means unconstrained) N/A N/A N/A parser add_option -c --benchmark-id type int default 1 help Which benchmark to run N/A N/A N/A parser add_option -e --benchmark-iterations type int default 100 help Iterations of benchmark to run N/A N/A N/A parser add_option -p --sample-ratio type float default 2 help Sample ratio for unconstrained tasks N/A N/A N/A parser add_option -q --sample-ratio-constrained type int default 2 help Sample ratio for constrained tasks N/A N/A N/A parser add_option -y --kill-delay type int default 1 help Time to wait between killing backends and frontends N/A N/A N/A parser add_option -v --inter-query-delay type int default 100 help How many ms to wait between shark queries N/A N/A N/A parser add_option -m --scheduler type string default sparrow help Which scheduler to use for running spark (mesos/sparrow) N/A N/A N/A parser add_option --spot-price type float default None help N/A If specified, launch slaves as spot instances with the given  maximum price (in dollars). To see current spot prices, visit http://aws.amazon.com/ec2/spot-instances/#7 N/A N/A N/A parser add_option --cpus type int default 4 help Number of cpus on the machine, used to determine how many concurrent tasks to run N/A N/A N/A parser add_option --frontend-type type string default ProtoFrontend help Classname (not fully qualified!) of the frontend to use N/A N/A N/A parser add_option -r --parallelism type int default 8 help Level of parallelism for dummy queries. N/A N/A N/A parser add_option -u --num_partitions type int default 1 help Number of partitions for shark tables. N/A N/A N/A parser add_option --reduce-tasks type int default 5 help Number of reduce tasks to use for Shark queries. N/A N/A N/A N/A parser add_option --spark-backend-mem default 2g help Amount of memory to give spark backends. N/A N/A N/A parser add_option --scale-factor default 2.5 help Scale factor to use when creating TPCH database (used with create-database) N/A N/A N/A parser add_option --total-cores default 200 help Total number of cores in the cluster (used to determine launch rate for throughput experiments) N/A N/A opts args N/A N/A parser parse_args N/A N/A N/A N/A len args 2 force_action N/A N/A N/A N/A parser print_help N/A N/A N/A sys exit 1 N/A N/A N/A N/A os getenv AWS_ACCESS_KEY_ID None N/A N/A N/A sys stderr N/A ERROR: The environment variable AWS_ACCESS_KEY_ID  must be set N/A N/A N/A sys exit 1 N/A N/A N/A N/A os getenv AWS_SECRET_ACCESS_KEY None N/A N/A N/A sys stderr N/A ERROR: The environment variable  AWS_SECRET_ACCESS_KEY must be set N/A N/A N/A sys exit 1 N/A N/A opts args N/A get_or_make_group N/A N/A conn name N/A N/A N/A groups N/A N/A conn get_all_security_groups N/A group N/A g N/A g groups N/A N/A g name name N/A N/A N/A len group 0 N/A N/A N/A group N/A 0 N/A N/A N/A Creating security group  name N/A N/A N/A conn create_security_group name Sparrow EC2 group N/A scp N/A N/A host opts local_file dest_file N/A N/A N/A N/A N/A subprocess check_call N/A scp -q -o StrictHostKeyChecking=no -i %s '%s' 'root@%s:%s' N/A N/A opts identity_file local_file host dest_file shell True N/A scp_from N/A N/A host opts dest_file local_file N/A N/A N/A N/A N/A subprocess check_call N/A scp -q -o StrictHostKeyChecking=no -i %s 'root@%s:%s' '%s' N/A N/A opts identity_file host dest_file local_file shell True N/A rsync_from_all N/A N/A hosts opts dest_pattern local_dir errors N/A 0 N/A N/A commands N/A N/A host hosts N/A N/A cmd N/A rsync -rv -e 'ssh -o StrictHostKeyChecking=no -i %s' root@%s: --include="%s" --exclude="*" %s N/A N/A opts identity_file host dest_pattern local_dir N/A N/A N/A commands append cmd N/A N/A parallel_commands commands errors N/A parallel_commands N/A N/A commands tolerable_failures N/A N/A N/A processes N/A N/A failures N/A N/A c commands N/A N/A p N/A N/A subprocess Popen c shell True stdout N/A subprocess PIPE stderr N/A subprocess PIPE stdin N/A subprocess PIPE N/A N/A processes N/A p c N/A p N/A N/A processes keys N/A N/A N/A stdout stderr N/A N/A p communicate N/A N/A N/A N/A p poll 0 N/A N/A N/A N/A failures append N/A stdout stderr N/A processes N/A p N/A stdout N/A N/A N/A len failures tolerable_failures N/A N/A out Parallel commands failed:
 N/A N/A stdout stderr cmd failures N/A N/A out N/A out N/A command:
%s
stdout
%sstderr
%s
 N/A cmd stdout stderr N/A N/A Exception out N/A ssh N/A N/A host opts command N/A N/A N/A N/A N/A subprocess check_call N/A ssh -t -o StrictHostKeyChecking=no -i %s root@%s '%s' N/A N/A opts identity_file host command shell True N/A ssh_all N/A N/A hosts opts command N/A N/A N/A commands N/A N/A host hosts N/A N/A cmd N/A ssh -t -o StrictHostKeyChecking=no -i %s root@%s '%s' N/A N/A opts identity_file host command N/A N/A N/A commands append cmd N/A N/A parallel_commands commands 0 N/A launch_cluster N/A N/A conn opts cluster_name N/A N/A N/A backend_group N/A get_or_make_group conn N/A %s-backends cluster_name N/A frontend_group N/A get_or_make_group conn N/A %s-frontends cluster_name N/A groups N/A backend_group frontend_group N/A group groups N/A N/A N/A N/A group rules N/A N/A N/A group2 groups N/A N/A N/A N/A group authorize src_group group2 N/A N/A N/A group authorize tcp 22 22 0.0.0.0/0 N/A Launching instances... N/A N/A N/A image N/A N/A N/A conn get_all_images image_ids N/A N/A opts ami N/A 0 N/A N/A N/A N/A N/A sys stderr N/A Could not find AMI  N/A opts ami N/A N/A N/A sys exit 1 N/A N/A N/A opts spot_price None N/A N/A launch_group_name N/A launch-group-%s cluster_name N/A req_ids N/A N/A N/A N/A opts frontends 0 N/A N/A N/A Requesting %d frontends as spot instances with price $%.3f N/A N/A opts frontends N/A opts spot_price N/A frontend_reqs N/A N/A conn request_spot_instances price N/A opts spot_price image_id N/A opts ami launch_group launch_group_name placement N/A opts zone count N/A opts frontends key_name N/A opts key_pair security_groups N/A frontend_group instance_type N/A opts instance_type N/A req_ids N/A N/A req id N/A req frontend_reqs N/A N/A N/A opts backends 0 N/A N/A N/A Requesting %d backends as spot instances with price $%.3f N/A N/A opts backends N/A opts spot_price N/A backend_reqs N/A N/A conn request_spot_instances price N/A opts spot_price image_id N/A opts ami launch_group launch_group_name placement N/A opts zone count N/A opts backends key_name N/A opts key_pair security_groups N/A backend_group instance_type N/A opts instance_type N/A req_ids N/A N/A req id N/A req backend_reqs N/A Waiting for spot instances to be granted... N/A instances_requested N/A N/A opts frontends N/A opts backends N/A N/A N/A True N/A N/A N/A N/A time sleep 10 N/A reqs N/A N/A conn get_all_spot_instance_requests N/A active_instance_ids N/A N/A r instance_id N/A r reqs N/A N/A N/A r id req_ids N/A N/A r state active N/A N/A N/A len active_instance_ids instances_requested N/A N/A N/A All %d frontends and %d backends granted N/A N/A opts frontends N/A opts backends N/A N/A N/A N/A %d of %d nodes granted; waiting longer N/A N/A len active_instance_ids instances_requested N/A N/A N/A N/A Canceling spot instance requests N/A N/A N/A conn cancel_spot_instance_requests req_ids N/A N/A frontends backends N/A find_existing_cluster conn opts cluster_name N/A running N/A N/A len frontends N/A len backends N/A running N/A N/A N/A sys stderr N/A WARNING: %d instances are still running running N/A N/A N/A sys exit 0 N/A N/A ARE YOU SURE YOU DON'T WANT TO USE SPOT INSTANCES? N/A frontend_res N/A N/A image run key_name N/A opts key_pair security_groups N/A frontend_group instance_type N/A opts instance_type placement N/A opts zone min_count N/A opts frontends max_count N/A opts frontends N/A backend_res N/A N/A image run key_name N/A opts key_pair security_groups N/A backend_group instance_type N/A opts instance_type placement N/A opts zone min_count N/A opts backends max_count N/A opts backends N/A N/A Launched cluster with %s frontends and %s backends N/A N/A opts frontends N/A opts backends N/A wait_for_instances N/A N/A instances N/A N/A N/A True N/A N/A i instances N/A N/A N/A N/A i update N/A N/A N/A len N/A i N/A i instances N/A N/A i state pending 0 N/A N/A N/A N/A time sleep 5 N/A N/A N/A is_active N/A N/A instance N/A N/A N/A N/A N/A instance state N/A pending running stopping stopped N/A find_existing_cluster N/A N/A conn opts cluster_name N/A N/A N/A Searching for existing Sparrow cluster... N/A reservations N/A N/A conn get_all_instances N/A frontend_nodes N/A N/A backend_nodes N/A N/A res reservations N/A N/A active N/A i N/A i N/A res instances N/A is_active i N/A N/A N/A len active 0 N/A N/A group_names N/A N/A g name N/A g N/A res groups N/A N/A group_names N/A N/A %s-frontends cluster_name N/A N/A frontend_nodes N/A res instances N/A N/A N/A group_names N/A N/A %s-backends cluster_name N/A N/A backend_nodes N/A res instances N/A N/A N/A frontend_nodes N/A N/A backend_nodes N/A N/A N/A N/A Found %d frontend and %s backend nodes N/A N/A len frontend_nodes N/A len backend_nodes N/A Frontends: N/A frontend_nodes N/A filter N/A N/A N/A k N/A N/A N/A k public_dns_name frontend_nodes N/A fe frontend_nodes N/A N/A N/A fe public_dns_name N/A Backends: N/A backend_nodes N/A filter N/A N/A N/A k N/A N/A N/A k public_dns_name backend_nodes N/A be backend_nodes N/A N/A N/A be public_dns_name N/A N/A frontend_nodes backend_nodes N/A N/A N/A ERROR: Could not find full cluster named %s: fe=%s be=%s N/A cluster_name frontend_nodes backend_nodes N/A N/A N/A sys exit 1 N/A N/A  Replaces all of the variables in the tempate files, based on opts.

Returns the name of the directory with all of the files that need to be deployed.
 generate_deploy_files N/A N/A frontends backends opts warmup_job_arrival_s warmup_s post_warmup_s nm_task_scheduler users N/A N/A N/A tmp_dir N/A N/A tempfile mkdtemp N/A template_vars N/A frontend_list sparrow_schedulers static_backends name_node backend_list backend_comma_joined_list arrival_lambda git_branch spark_git_branch benchmark_iterations benchmark_id tasks_per_job num_preferred_nodes sample_ratio sample_ratio_constrained warmup_job_arrival_rate_s warmup_s post_warmup_s node_monitor_task_scheduler num_partitions reduce_tasks inter_query_delay users frontend_type cpus total_cores spark_backend_mem N/A N/A join N/A N/A %s N/A i public_dns_name N/A i frontends N/A N/A join N/A N/A sparrow@%s:20503 N/A i private_ip_address N/A i frontends N/A N/A , join N/A N/A %s:20502 N/A i public_dns_name N/A i backends N/A N/A frontends N/A 0 public_dns_name N/A N/A join N/A N/A %s N/A i public_dns_name N/A i backends N/A N/A , join N/A N/A %s N/A i public_dns_name N/A i backends N/A %s N/A opts arrival_rate N/A %s N/A opts branch N/A %s N/A opts spark_branch N/A %s N/A opts benchmark_iterations N/A %s N/A opts benchmark_id N/A %s N/A opts tasks_per_job N/A %s N/A opts num_preferred_nodes N/A %s N/A opts sample_ratio N/A %s N/A opts sample_ratio_constrained N/A %s warmup_job_arrival_s N/A %s warmup_s N/A %s post_warmup_s N/A %s nm_task_scheduler N/A %s N/A opts num_partitions N/A %s N/A opts reduce_tasks N/A %s N/A opts inter_query_delay users N/A opts frontend_type N/A %s N/A opts cpus N/A %s N/A opts total_cores N/A %s N/A opts spark_backend_mem N/A N/A dirpath dirnames filenames N/A N/A os walk template N/A N/A rel_dir_path N/A N/A dirpath replace template N/A N/A N/A rel_dir_path startswith N/A os sep N/A N/A rel_dir_path N/A rel_dir_path N/A 1 N/A N/A rel_dir_path N/A N/A N/A N/A os mkdir N/A N/A N/A os path join tmp_dir rel_dir_path N/A filename filenames N/A N/A N/A N/A N/A filename N/A 0 #.~ N/A N/A filename N/A -1 ~ N/A N/A local_file N/A N/A N/A os path join tmp_dir rel_dir_path filename N/A N/A open N/A N/A N/A os path join dirpath filename src N/A N/A N/A open local_file w dest N/A N/A text N/A N/A src read N/A key template_vars N/A N/A text N/A N/A text replace N/A N/A {{ key }} N/A template_vars N/A key N/A N/A N/A dest write text N/A N/A N/A dest close N/A tmp_dir N/A redeploy_sparrow N/A N/A machines frontends backends opts warmup_job_arrival_s warmup_s post_warmup_s nm_task_scheduler users N/A 0 0 0 fifo user0:1:0 N/A N/A tmp_dir N/A generate_deploy_files frontends backends opts warmup_job_arrival_s warmup_s post_warmup_s nm_task_scheduler users N/A machine machines N/A N/A N/A Copying files to: %s ... N/A machine public_dns_name N/A command N/A N/A rsync -rv -e 'ssh -o StrictHostKeyChecking=no -i %s'  '%s/' 'root@%s:~/' N/A N/A opts identity_file tmp_dir N/A machine public_dns_name N/A N/A N/A subprocess check_call command shell True N/A deploy_cluster N/A N/A frontends backends opts warmup_job_arrival_s warmup_s post_warmup_s nm_task_scheduler users N/A 0 0 0 fifo user0:1:0 N/A N/A tmp_dir N/A generate_deploy_files frontends backends opts warmup_job_arrival_s warmup_s post_warmup_s nm_task_scheduler users N/A driver_machine N/A N/A frontends N/A 0 public_dns_name N/A N/A Chose driver machine: %s ... driver_machine N/A command N/A N/A rsync -rv -e 'ssh -o StrictHostKeyChecking=no -i %s'  '%s/' 'root@%s:~/' N/A N/A opts identity_file tmp_dir driver_machine N/A N/A N/A subprocess check_call command shell True N/A N/A N/A shutil rmtree tmp_dir N/A N/A Copying SSH key %s to driver... N/A opts identity_file N/A N/A ssh driver_machine opts mkdir -p /root/.ssh N/A N/A scp driver_machine opts N/A opts identity_file /root/.ssh/id_rsa N/A Building sparrow on driver machine... N/A N/A ssh driver_machine opts chmod 755 /root/*.sh;/root/build_sparrow.sh; N/A Deploying sparrow to other machines... N/A N/A ssh driver_machine opts /root/deploy_sparrow.sh N/A start_sparrow_throughput N/A N/A frontends backends opts N/A N/A N/A N/A start_sparrow frontends backends opts N/A N/A start_spark_shark frontends backends opts N/A N/A ssh_all N/A N/A fe public_dns_name N/A fe frontends opts /root/start_throughput_exp_sparrow.sh N/A start_sparrow N/A N/A frontends backends opts N/A N/A N/A all_machines N/A N/A fe frontends N/A N/A N/A N/A all_machines append N/A fe public_dns_name N/A be backends N/A N/A N/A N/A all_machines append N/A be public_dns_name N/A Starting sparrow on all machines... N/A N/A ssh_all all_machines opts /root/start_sparrow.sh; N/A stop_sparrow N/A N/A frontends backends opts N/A N/A N/A all_machines N/A N/A fe frontends N/A N/A N/A N/A all_machines append N/A fe public_dns_name N/A be backends N/A N/A N/A N/A all_machines append N/A be public_dns_name N/A Stopping sparrow on all machines... N/A N/A ssh_all all_machines opts /root/stop_sparrow.sh; N/A start_mesos N/A N/A frontends backends opts N/A N/A N/A Starting mesos master... N/A N/A ssh N/A N/A frontends N/A 0 public_dns_name opts /root/start_mesos_master.sh; N/A Starting mesos slaves... N/A N/A ssh_all N/A N/A be public_dns_name N/A be backends opts /root/start_mesos_slave.sh N/A stop_mesos N/A N/A frontends backends opts N/A N/A N/A Stopping mesos slaves... N/A N/A ssh_all N/A N/A be public_dns_name N/A be backends opts /root/stop_mesos_slave.sh N/A Stopping mesos master... N/A N/A ssh N/A N/A frontends N/A 0 public_dns_name opts /root/stop_mesos_master.sh N/A N/A  Starts spark backends only to allow shark shell to launch.  start_spark_shark N/A N/A frontends backends opts N/A N/A N/A N/A N/A opts scheduler sparrow N/A N/A ERROR: shark only supported w/ sparrow scheduler N/A N/A Starting Spark backends... N/A N/A ssh_all N/A N/A be public_dns_name N/A be backends opts /root/start_spark_backend.sh N/A stop_spark N/A N/A frontends backends opts N/A N/A N/A Stopping spark frontends... N/A N/A ssh_all N/A N/A fe public_dns_name N/A fe frontends opts /root/stop_spark_frontend.sh N/A N/A N/A time sleep N/A opts kill_delay N/A Stopping spark backends... N/A N/A ssh_all N/A N/A be public_dns_name N/A be backends opts /root/stop_spark_backend.sh N/A start_hdfs N/A N/A frontends backends opts N/A N/A N/A Starting HDFS N/A N/A ssh N/A N/A frontends N/A 0 public_dns_name opts HADOOP_SSH_OPTS="-o StrictHostKeyChecking=no" /opt/hadoop/bin/start-dfs.sh N/A stop_hdfs N/A N/A frontends backends opts N/A N/A N/A Stopping HDFS N/A N/A ssh N/A N/A frontends N/A 0 public_dns_name opts HADOOP_SSH_OPTS="-o StrictHostKeyChecking=no" /opt/hadoop/bin/stop-dfs.sh N/A start_proto N/A N/A frontends backends opts N/A N/A N/A Starting Proto backends... N/A N/A ssh_all N/A N/A be public_dns_name N/A be backends opts /root/start_proto_backend.sh N/A Starting Proto frontends... N/A N/A ssh_all N/A N/A fe public_dns_name N/A fe frontends opts /root/start_proto_frontend.sh N/A stop_proto N/A N/A frontends backends opts N/A N/A N/A Stopping Proto frontends... N/A N/A ssh_all N/A N/A fe public_dns_name N/A fe frontends opts /root/stop_proto_frontend.sh N/A N/A N/A time sleep N/A opts kill_delay N/A Stopping Proto backends... N/A N/A ssh_all N/A N/A be public_dns_name N/A be backends opts /root/stop_proto_backend.sh N/A create_database N/A N/A frontends opts N/A N/A N/A scale_factor N/A opts scale_factor N/A N/A Creating TPCH database in HDFS on primary node with scale factor  scale_factor N/A N/A ssh N/A N/A frontends N/A 0 public_dns_name opts N/A /root/create_database.sh %s scale_factor N/A create_tpch_tables N/A N/A frontends backends opts N/A N/A N/A Creating tables on primary node (takes longer) N/A N/A ssh N/A N/A frontends N/A 0 public_dns_name opts /root/create_tpch_tables_primary.sh N/A Creating table on other nodes N/A N/A ssh_all N/A N/A fe public_dns_name N/A fe N/A frontends N/A 1 opts /root/create_tpch_tables_secondary.sh N/A start_shark_tpch N/A N/A frontends backends opts N/A N/A N/A Starting Shark/TPCH workloads N/A N/A ssh_all N/A N/A fe public_dns_name N/A fe frontends opts /root/start_shark_tpch.sh N/A collect_logs N/A N/A frontends backends opts N/A N/A N/A Zipping logs... N/A N/A ssh_all N/A N/A fe public_dns_name N/A fe frontends opts /root/prepare_logs.sh N/A N/A ssh_all N/A N/A be public_dns_name N/A be backends opts /root/prepare_logs.sh N/A Hauling logs N/A N/A rsync_from_all N/A N/A fe public_dns_name N/A fe frontends opts *.log.gz N/A opts log_dir N/A len frontends N/A N/A rsync_from_all N/A N/A be public_dns_name N/A be backends opts *.log.gz N/A opts log_dir N/A len backends N/A N/A ssh_all N/A N/A fe public_dns_name N/A fe frontends opts rm -f /tmp/*audit*.log.gz; mv /root/*log.gz /tmp; N/A N/A ssh_all N/A N/A be public_dns_name N/A be backends opts rm -f /tmp/*audit*.log.gz; mv /root/*log.gz /tmp; N/A destroy_cluster N/A N/A frontends backends opts N/A N/A N/A response N/A raw_input N/A N/A Are you sure you want to destroy the cluster  ?
ALL DATA ON ALL NODES WILL BE LOST!!
 Destroy cluster (y/N):  N/A N/A response y N/A N/A Terminating frontends N/A fe frontends N/A N/A N/A N/A fe terminate N/A Terminating backends N/A be backends N/A N/A N/A N/A be terminate N/A execute_command N/A N/A frontends backends opts cmd N/A N/A N/A N/A ssh_all N/A N/A fe public_dns_name N/A fe frontends opts cmd N/A N/A ssh_all N/A N/A be public_dns_name N/A be backends opts cmd N/A login_frontend N/A N/A frontends backends opts N/A N/A N/A node N/A N/A frontends N/A 0 public_dns_name N/A N/A Logging into a frontend  node N/A N/A N/A subprocess check_call N/A ssh -o StrictHostKeyChecking=no -i %s root@%s N/A N/A opts identity_file node shell True N/A login_backend N/A N/A frontends backends opts N/A N/A N/A node N/A N/A backends N/A 0 public_dns_name N/A N/A Logging into a backend  node N/A N/A N/A subprocess check_call N/A ssh -o StrictHostKeyChecking=no -i %s root@%s N/A N/A opts identity_file node shell True N/A main N/A N/A N/A N/A N/A N/A opts args N/A parse_args N/A conn N/A N/A boto connect_ec2 N/A action N/A args N/A 0 N/A cluster N/A args N/A 1 N/A N/A action launch N/A N/A N/A launch_cluster conn opts cluster N/A N/A N/A N/A action command N/A N/A len args 3 N/A N/A Command action requires command string N/A N/A frontends backends N/A find_existing_cluster conn opts cluster N/A Waiting for instances to start up N/A N/A wait_for_instances frontends N/A N/A wait_for_instances backends N/A N/A Waiting %d more seconds... N/A opts wait N/A N/A N/A time sleep N/A opts wait N/A N/A Executing action: %s action N/A N/A action command N/A N/A cmd N/A N/A join N/A args N/A 2 N/A N/A execute_command frontends backends opts cmd N/A N/A N/A action deploy N/A N/A N/A deploy_cluster frontends backends opts N/A N/A N/A action start-sparrow N/A N/A N/A start_sparrow frontends backends opts N/A N/A N/A action stop-sparrow N/A N/A N/A stop_sparrow frontends backends opts N/A N/A N/A action start-sparrow-throughput N/A N/A N/A start_sparrow_throughput frontends backends opts N/A N/A N/A action start-mesos N/A N/A N/A start_mesos frontends backends opts N/A N/A N/A action stop-mesos N/A N/A N/A stop_mesos frontends backends opts N/A N/A N/A action start-spark-shark N/A N/A N/A start_spark_shark frontends backends opts N/A N/A N/A action stop-spark N/A N/A N/A stop_spark frontends backends opts N/A N/A N/A action restart-spark-shark N/A N/A N/A stop_spark frontends backends opts N/A N/A stop_sparrow frontends backends opts N/A N/A start_sparrow frontends backends opts N/A N/A start_spark_shark frontends backends opts N/A N/A N/A action start-proto N/A N/A N/A start_proto frontends backends opts N/A N/A N/A action stop-proto N/A N/A N/A stop_proto frontends backends opts N/A N/A N/A action start-hdfs N/A N/A N/A start_hdfs frontends backends opts N/A N/A N/A action stop-hdfs N/A N/A N/A stop_hdfs frontends backends opts N/A N/A N/A action collect-logs N/A N/A N/A collect_logs frontends backends opts N/A N/A N/A action destroy N/A N/A N/A destroy_cluster frontends backends opts N/A N/A N/A action login-fe N/A N/A N/A login_frontend frontends backends opts N/A N/A N/A action login-be N/A N/A N/A login_backend frontends backends opts N/A N/A N/A action create-database N/A N/A N/A create_database frontends opts N/A N/A N/A action create-tpch-tables N/A N/A N/A create_tpch_tables frontends backends opts N/A N/A N/A action start-shark-tpch N/A N/A N/A start_shark_tpch frontends backends opts N/A N/A N/A Unknown action: %s action N/A N/A N/A sys exit 1 N/A N/A N/A __name__ __main__ N/A N/A N/A main