Module Import alias alias alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Pass orelse Assign NameStore Str Print BinOpAdd Str NameLoad Import alias Import alias Import alias Assign NameStore Str Assign NameStore BinOpAdd NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad If NameLoad body Print BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Str Assign NameStore BinOpAdd NameLoad Call NameLoad BinOpAdd Call NameLoad NameLoad Num Assign NameStore Num While CompareLt NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Num body If NameLoad body Print Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Num orelse If NameLoad body Print Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num If CompareEq NameLoad NameLoad body If NameLoad body Print Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Num
N/A N/A string sys os socket * N/A time N/A APPSCALE_HOME N/A N/A N/A os environ get APPSCALE_HOME N/A APPSCALE_HOME N/A N/A N/A N/A APPSCALE_HOME /root/appscale N/A N/A APPSCALE_HOME env var not set. Using default  APPSCALE_HOME N/A os N/A logging N/A logging.handlers N/A LOG_DIR /root/appscale/AppDB/logs N/A LOG_FILENAME N/A LOG_DIR /wait_on_hadoop.log N/A N/A N/A N/A N/A os path exists LOG_DIR N/A N/A N/A N/A os mkdir LOG_DIR 511 N/A logger N/A N/A logging getLogger wait_on_hadoop N/A N/A N/A logger setLevel N/A logging DEBUG N/A formatter N/A N/A logging Formatter %(asctime)s %(module)s:%(lineno)-4d %(message)s N/A handler N/A N/A N/A logging handlers RotatingFileHandler LOG_FILENAME maxBytes 10000000 backupCount 10 N/A N/A N/A handler setFormatter formatter N/A N/A N/A logger addHandler handler N/A DEBUG True N/A HADOOP_PORT 9000 N/A MAX_RETRIES 100 N/A SLAVE_FILE N/A APPSCALE_HOME /.appscale/slaves N/A MASTER_FILE N/A APPSCALE_HOME /.appscale/masters N/A masters N/A N/A slaves N/A N/A FILE N/A open SLAVE_FILE r N/A line N/A N/A FILE readline N/A line N/A N/A N/A N/A slaves append line N/A N/A N/A logger error N/A Slave added:  line N/A DEBUG N/A N/A N/A Slave added:  line N/A line N/A N/A FILE readline N/A N/A N/A FILE close N/A total_slaves_up 0 N/A command lsof -i :9000 | grep java | grep 9000 | wc -l | grep  N/A command N/A command N/A str N/A N/A len slaves 1 N/A num_tries 0 N/A N/A num_tries MAX_RETRIES N/A N/A num_tries N/A num_tries 1 N/A result N/A N/A os system command N/A N/A result 0 N/A N/A DEBUG N/A N/A Master ready N/A N/A N/A logger error Master ready N/A N/A exit 1 N/A N/A DEBUG N/A N/A Master not ready, sleeping N/A N/A N/A logger error Master not ready, sleeping N/A N/A N/A time sleep 5 N/A N/A num_tries MAX_RETRIES N/A N/A DEBUG N/A N/A Maxed out on attempts for master N/A N/A N/A logger error Maxed out on attempts for master N/A N/A exit 1