Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body If BoolOpAnd CompareEq Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Str CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Return Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Call NameLoad Str NameLoad keyword Call NameLoad Str ExceptHandler type NameLoad name NameStore body Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Raise Call NameLoad BinOpMod Call NameLoad NameLoad NameLoad keyword NameLoad If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Call NameLoad Str Dict Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list Return Call Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Dict Str Str Num Str TryExcept body Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword NameLoad Assign SubscriptStore NameLoad Index Str Num handlers ExceptHandler type NameLoad name NameStore body Assign SubscriptStore NameLoad Index Str Num ExceptHandler type NameLoad name NameStore body Assign SubscriptStore NameLoad Index Str BinOpMod Call NameLoad Str TupleLoad NameLoad NameLoad Return Call NameLoad NameLoad keyword NameLoad orelse Return Call NameLoad Str NameLoad Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body TryExcept body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Num handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareIn Str NameLoad CompareIn Str NameLoad body Raise Call NameLoad Call NameLoad Str orelse If CompareIn Str NameLoad body Raise Call NameLoad Call NameLoad Str orelse Raise Call NameLoad NameLoad Assign NameStore Dict Str ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad Return Call NameLoad NameLoad keyword NameLoad Return Call NameLoad Str NameLoad Dict Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad UnaryOpNot BoolOpAnd CompareEq NameLoad Str CompareEq NameLoad Str CompareEq NameLoad Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body 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 Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr BoolOpOr BoolOpAnd AttributeLoad NameLoad attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd AttributeLoad NameLoad attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Call NameLoad Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr NameLoad IfExp AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr IfExp AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Num BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Num BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Num BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Num Call NameLoad NameLoad AttributeLoad NameLoad attr BoolOpOr BoolOpAnd AttributeLoad NameLoad attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpOr BoolOpAnd AttributeLoad NameLoad attr Call NameLoad Str keyword Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str BoolOpOr BoolOpAnd AttributeLoad NameLoad attr Call NameLoad Str keyword Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Dict Str Call NameLoad NameLoad NameLoad Return Call NameLoad NameLoad keyword NameLoad orelse Return Call NameLoad Str NameLoad Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Dict Str Str Str Call NameLoad NameLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad keyword NameLoad Return Call NameLoad Str NameLoad Dict Str Str Str Str NameLoad NameLoad BoolOpOr BoolOpAnd NameLoad SubscriptLoad NameLoad Slice Num ListLoad BoolOpOr BoolOpAnd NameLoad SubscriptLoad NameLoad Slice Num ListLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str NameLoad Dict Str AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr Str body Raise Call NameLoad BinOpMod Call NameLoad Str Dict Str AttributeLoad NameLoad attr If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad NameLoad Call NameLoad Str Raise Call NameLoad BinOpMod Call NameLoad Str Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr While CompareLt BinOpSub Call AttributeLoad NameLoad attr NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareNotIn AttributeLoad NameLoad attr ListLoad Str Str body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Return Call NameLoad Dict Str Num keyword NameLoad orelse Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Raise Call NameLoad Call NameLoad Str decorator_list Call NameLoad AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Num body Return Call NameLoad Str NameLoad Dict Str Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Str Num body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Raise Call NameLoad BinOpMod Call NameLoad Str Dict Str AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Dict If BoolOpAnd NameLoad CompareGtE Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num keyword NameLoad Assign NameStore Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr attr Str Index Num attr handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad BinOpMod Str NameLoad TryExcept body Assign NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Str Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore ListLoad Str Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword TupleLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num If BoolOpOr CompareIs NameLoad NameLoad UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Call NameLoad Str Dict Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore BoolOpOr BoolOpAnd CompareGt NameLoad Num NameLoad Num Assign NameStore Dict Str Str Str Str BoolOpOr BoolOpAnd NameLoad Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad BoolOpOr BoolOpAnd NameLoad Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr TupleLoad Str Str Str attr Return Call NameLoad Str NameLoad Dict Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad Str NameLoad Dict Str Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Raise Call NameLoad BinOpMod Call NameLoad Str Dict Str NameLoad NameLoad Return Call NameLoad Str NameLoad Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Raise Call NameLoad BinOpMod Call NameLoad Str Dict Str NameLoad NameLoad Assign NameStore Num TryExcept body If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad AugAssignAdd NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Assign NameStore BinOpMult ListLoad Call NameLoad Str Num ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore BinOpMult ListLoad Call NameLoad Str Num Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Return NameLoad orelse Assign SubscriptStore NameLoad Index Str ListComp Call AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Dict Str Str SubscriptLoad NameLoad Index Str CompareIn Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str Return Call NameLoad NameLoad orelse Return Call NameLoad Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict If NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad Str NameLoad Dict Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad Dict decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return Call NameLoad Str NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call NameLoad Str keyword NameLoad Return Call NameLoad Str NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call NameLoad Str keyword NameLoad Return Call NameLoad Str NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Str NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Str NameLoad Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call NameLoad Dict decorator_list NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults Num body If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body For NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad BinOpAdd NameLoad Num Return NameLoad decorator_list For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults BinOpAdd BinOpAdd SubscriptLoad Call AttributeLoad NameLoad attr Num Index Num Str Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Num Index Num attr NameLoad decorator_list Return Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str TupleLoad Str Str Str Str body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad Assert BoolOpOr CompareIs NameLoad NameLoad CompareIn NameLoad NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad NameLoad Return Call NameLoad Str NameLoad Dict Str NameLoad keyword NameLoad decorator_list Expr Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Num Num Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return Lambda arguments args NameParam defaults CompareEq AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Assign NameStore Call NameLoad Call NameLoad Str NameLoad Assign NameStore Call NameLoad Call NameLoad Str NameLoad Assign NameStore Call NameLoad Call NameLoad Str NameLoad Assign NameStore Call NameLoad Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad Str NameLoad Dict Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A re N/A time N/A logging N/A string N/A urlparse urllib quote_plus lxml html django.http HttpResponseRedirect django.utils.functional wraps django.utils.translation ugettext _ django.core.urlresolvers reverse desktop.log.access access_warn access_log_level desktop.lib.rest.http_client RestException desktop.lib.rest.resource Resource desktop.lib.django_util JsonResponse render_json render copy_query_dict desktop.lib.json_utils JSONEncoderForHTML desktop.lib.exceptions MessageException desktop.lib.exceptions_renderable PopupException desktop.views register_status_bar_view hadoop cluster hadoop.api.jobtracker.ttypes ThriftJobPriority TaskTrackerNotFoundException ThriftJobState hadoop.yarn.clients get_log_client N/A hadoop.yarn.resource_manager_api resource_manager_api jobbrowser.conf SHARE_JOBS jobbrowser.api get_api ApplicationNotRunning JobExpired jobbrowser.models Job JobLinkage Tracker Cluster can_view_job can_modify_job LinkJobLogs can_kill_job jobbrowser.yarn_models Application N/A urllib2 N/A LOG N/A N/A logging getLogger __name__ check_job_permission N/A N/A view_func N/A N/A N/A 
  Ensure that the user has access to the job.
  Assumes that the wrapped function takes a 'jobid' param named 'job'.
   decorate N/A N/A request N/A args kwargs N/A N/A jobid N/A kwargs N/A job N/A N/A N/A job N/A N/A N/A get_api N/A request user N/A request jt get_job jobid jobid N/A N/A N/A ApplicationNotRunning N/A e N/A N/A N/A N/A N/A N/A N/A N/A N/A e job get state lower accepted N/A kill N/A request path N/A N/A rm_api N/A N/A resource_manager_api get_resource_manager N/A request user N/A job N/A Application N/A e job rm_api N/A N/A N/A job_not_assigned request jobid N/A request path N/A N/A JobExpired N/A e N/A N/A N/A PopupException N/A N/A _ Job %s has expired. jobid detail N/A _ Cannot be found on the History Server. N/A N/A Exception N/A e N/A N/A msg Could not find job %s. N/A N/A N/A LOG exception N/A msg jobid N/A N/A PopupException N/A N/A _ msg jobid detail e N/A N/A N/A N/A N/A SHARE_JOBS get N/A N/A N/A request user is_superuser N/A N/A job user N/A N/A request user username N/A N/A can_view_job N/A N/A request user username job N/A N/A N/A PopupException N/A N/A _ You don't have permission to access job %(id)s. N/A id jobid N/A N/A kwargs N/A job job N/A N/A view_func request args kwargs N/A N/A N/A N/A wraps view_func decorate N/A job_not_assigned N/A N/A request jobid path N/A N/A N/A N/A N/A N/A N/A request GET get format json N/A N/A result N/A status message -1 N/A N/A N/A N/A N/A N/A get_api N/A request user N/A request jt get_job jobid jobid N/A N/A result N/A status 0 N/A N/A N/A ApplicationNotRunning N/A e N/A N/A N/A result N/A status 1 N/A N/A Exception N/A e N/A N/A N/A result N/A message N/A N/A _ Error polling job %s: %s N/A jobid e N/A N/A JsonResponse result encoder JSONEncoderForHTML N/A N/A N/A render job_not_assigned.mako request N/A jobid path jobid path N/A jobs N/A N/A request N/A N/A N/A user N/A N/A N/A request GET get user N/A N/A request user username N/A state N/A N/A N/A request GET get state N/A text N/A N/A N/A request GET get text N/A retired N/A N/A N/A request GET get retired N/A N/A N/A N/A N/A request GET get format json N/A N/A N/A N/A jobs N/A N/A N/A get_api N/A request user N/A request jt get_jobs user N/A request user username user state state text text retired retired limit 10000 N/A N/A N/A Exception N/A ex N/A N/A ex_message N/A str ex N/A N/A N/A Connection refused ex_message N/A standby RM ex_message N/A N/A N/A PopupException N/A _ Resource Manager cannot be contacted or might be down. N/A N/A N/A Could not connect to ex_message N/A N/A N/A PopupException N/A _ Job Tracker cannot be contacted or might be down. N/A N/A N/A PopupException ex N/A json_jobs N/A jobs N/A N/A massage_job_for_json job request N/A job jobs N/A N/A JsonResponse json_jobs encoder JSONEncoderForHTML N/A N/A render jobs.mako request N/A request state_filter user_filter text_filter retired filtered is_yarn request state user text retired N/A N/A N/A state all N/A user N/A text N/A N/A cluster is_yarn N/A massage_job_for_json N/A N/A job request N/A N/A N/A job N/A id shortId name status url logs queueName priority user isRetired isMR2 mapProgress reduceProgress setupProgress cleanupProgress desiredMaps desiredReduces applicationType mapsPercentComplete finishedMaps finishedReduces reducesPercentComplete jobFile launchTimeMs launchTimeFormatted startTimeMs startTimeFormatted finishTimeMs finishTimeFormatted durationFormatted durationMs canKill killUrl N/A job jobId N/A job jobId_short N/A N/A N/A hasattr job jobName N/A job jobName N/A job status N/A N/A N/A job jobId N/A reverse jobbrowser.views.single_job kwargs N/A job N/A job jobId N/A N/A N/A job jobId N/A reverse jobbrowser.views.job_single_logs kwargs N/A job N/A job jobId N/A N/A N/A hasattr job queueName N/A job queueName N/A _ N/A N/A N/A N/A hasattr job priority N/A N/A N/A job priority lower N/A _ N/A N/A job user N/A job is_retired N/A job is_mr2 N/A N/A N/A hasattr job mapProgress N/A job mapProgress N/A N/A N/A hasattr job reduceProgress N/A job reduceProgress N/A N/A N/A hasattr job setupProgress N/A job setupProgress N/A N/A N/A hasattr job cleanupProgress N/A job cleanupProgress N/A job desiredMaps N/A job desiredReduces N/A N/A N/A hasattr job applicationType N/A job applicationType None N/A N/A job maps_percent_complete N/A int N/A job maps_percent_complete N/A job finishedMaps N/A job finishedReduces N/A N/A job reduces_percent_complete N/A int N/A job reduces_percent_complete N/A N/A N/A hasattr job jobFile N/A job jobFile N/A N/A N/A hasattr job launchTimeMs N/A job launchTimeMs 0 N/A N/A N/A hasattr job launchTimeFormatted N/A job launchTimeFormatted N/A N/A N/A hasattr job startTimeMs N/A job startTimeMs 0 N/A N/A N/A hasattr job startTimeFormatted N/A job startTimeFormatted N/A N/A N/A hasattr job finishTimeMs N/A job finishTimeMs 0 N/A N/A N/A hasattr job finishTimeFormatted N/A job finishTimeFormatted N/A N/A N/A hasattr job durationFormatted N/A job durationFormatted N/A N/A N/A hasattr job durationInMillis N/A job durationInMillis 0 N/A can_kill_job job N/A request user N/A N/A N/A job jobId N/A reverse jobbrowser.views.kill_job kwargs N/A job N/A job jobId N/A job N/A massage_task_for_json N/A N/A task N/A N/A N/A task N/A id shortId url logs type N/A task taskId N/A task taskId_short N/A N/A N/A task taskId N/A reverse jobbrowser.views.single_task kwargs N/A job taskid N/A task jobId N/A task taskId N/A N/A N/A task taskAttemptIds N/A reverse jobbrowser.views.single_task_attempt_logs kwargs N/A job taskid attemptid N/A task jobId N/A task taskId N/A N/A task taskAttemptIds N/A -1 N/A task taskType N/A task N/A single_spark_job N/A N/A request job N/A N/A N/A N/A N/A N/A N/A request REQUEST get format json N/A N/A json_job N/A job N/A massage_job_for_json job request N/A N/A JsonResponse json_job encoder JSONEncoderForHTML N/A N/A N/A render job.mako request N/A request job request job N/A single_job N/A N/A request job N/A N/A cmp_exec_time N/A N/A task1 task2 N/A N/A N/A N/A cmp N/A task1 execStartTimeMs N/A task2 execStartTimeMs N/A N/A N/A N/A job applicationType SPARK N/A N/A N/A single_spark_job request job N/A failed_tasks N/A N/A job filter_tasks task_states N/A failed N/A N/A N/A failed_tasks sort cmp_exec_time N/A recent_tasks N/A N/A job filter_tasks task_states N/A running succeeded N/A N/A N/A recent_tasks sort cmp_exec_time reverse True N/A N/A N/A N/A N/A request REQUEST get format json N/A N/A json_failed_tasks N/A N/A massage_task_for_json task N/A task failed_tasks N/A json_recent_tasks N/A N/A massage_task_for_json task N/A task recent_tasks N/A json_job N/A job failedTasks recentTasks N/A massage_job_for_json job request json_failed_tasks json_recent_tasks N/A N/A JsonResponse json_job encoder JSONEncoderForHTML N/A N/A render job.mako request N/A request job failed_tasks recent_tasks request job N/A N/A failed_tasks N/A failed_tasks N/A 5 N/A N/A N/A recent_tasks N/A recent_tasks N/A 5 N/A N/A check_job_permission job_counters N/A N/A request job N/A N/A N/A N/A render counters.html request N/A counters N/A job counters N/A check_job_permission kill_job N/A N/A request job N/A N/A N/A N/A N/A request method POST N/A N/A N/A Exception N/A N/A _ kill_job may only be invoked with a POST (got a %(method)s). N/A method N/A request method N/A N/A N/A N/A job user N/A N/A request user username N/A N/A N/A request user is_superuser N/A N/A N/A access_warn request N/A _ Insufficient permission N/A N/A MessageException N/A N/A _ Permission denied.  User %(username)s cannot delete user %(user)s's job. N/A username user N/A N/A request user username N/A job user N/A N/A N/A N/A N/A job kill N/A N/A N/A Exception N/A e N/A N/A N/A N/A LOG exception Killing job N/A N/A PopupException e N/A cur_time N/A N/A time time N/A api N/A get_api N/A request user N/A request jt N/A N/A N/A N/A N/A time time cur_time 15 N/A N/A job N/A N/A api get_job jobid N/A job jobId N/A N/A N/A job status N/A RUNNING QUEUED N/A N/A N/A N/A N/A request REQUEST get next N/A N/A N/A HttpResponseRedirect N/A N/A N/A request REQUEST get next N/A N/A N/A N/A N/A N/A request REQUEST get format json N/A N/A N/A JsonResponse N/A status 0 encoder JSONEncoderForHTML N/A N/A N/A MessageException Job Killed N/A N/A N/A time sleep 1 N/A N/A Exception N/A _ Job did not appear as killed within 15 seconds. N/A N/A access_log_level N/A logging WARN check_job_permission job_attempt_logs N/A N/A request job attempt_index N/A 0 N/A N/A N/A render job_attempt_logs.mako request N/A attempt_index job attempt_index job N/A check_job_permission job_attempt_logs_json N/A N/A request job attempt_index name offset N/A 0 syslog 0 N/A N/A For async log retrieval as Yarn servers are very slow N/A N/A N/A attempt_index N/A int attempt_index N/A attempt N/A N/A N/A job job_attempts N/A jobAttempt N/A attempt_index N/A log_link N/A attempt N/A logsLink N/A N/A N/A N/A KeyError RestException N/A e N/A N/A N/A KeyError N/A N/A _ Cannot find job attempt '%(id)s'. N/A id N/A job jobId e N/A link N/A /%s/ name N/A params N/A N/A N/A offset N/A N/A int offset 0 N/A N/A N/A params N/A start offset N/A root N/A Resource N/A get_log_client log_link N/A N/A N/A urlparse urlsplit log_link N/A 2 urlencode False N/A debug_info N/A N/A N/A response N/A N/A root get link params params N/A log N/A N/A N/A N/A N/A N/A N/A html fromstring response parser N/A N/A html HTMLParser xpath /html/body/table/tbody/tr/td[2] N/A 0 text_content N/A N/A N/A Exception N/A e N/A N/A log N/A _ N/A Failed to retrieve log: %s e N/A N/A N/A debug_info N/A 
Log Link: %s log_link N/A debug_info N/A 
HTML Response: %s response N/A N/A N/A LOG error debug_info N/A N/A N/A N/A N/A N/A LOG exception failed to create debug info N/A response N/A log debug N/A N/A LinkJobLogs _make_hdfs_links log debug_info N/A N/A JsonResponse response N/A check_job_permission job_single_logs N/A N/A request job N/A N/A N/A 
  Try to smartly detect the most useful task attempt (e.g. Oozie launcher, failed task) and get its MR logs.
   cmp_exec_time N/A N/A task1 task2 N/A N/A N/A N/A cmp N/A task1 execStartTimeMs N/A task2 execStartTimeMs N/A N/A task None N/A failed_tasks N/A N/A job filter_tasks task_states N/A failed N/A N/A N/A failed_tasks sort cmp_exec_time N/A failed_tasks N/A N/A task N/A failed_tasks N/A 0 N/A N/A N/A N/A task taskAttemptIds N/A N/A len failed_tasks 1 N/A N/A task N/A failed_tasks N/A 1 N/A N/A task_states N/A running succeeded N/A N/A job is_mr2 N/A N/A N/A N/A task_states append scheduled N/A recent_tasks N/A N/A job filter_tasks task_states task_states task_types N/A map reduce N/A N/A N/A recent_tasks sort cmp_exec_time reverse True N/A recent_tasks N/A N/A task N/A recent_tasks N/A 0 N/A N/A N/A task None N/A N/A task taskAttemptIds N/A N/A N/A PopupException N/A N/A _ No tasks found for job %(id)s. N/A id N/A job jobId N/A N/A single_task_attempt_logs request N/A job taskid attemptid N/A job jobId N/A task taskId N/A N/A task taskAttemptIds N/A -1 N/A check_job_permission tasks N/A N/A request job N/A N/A N/A 
  We get here from /jobs/job/tasks?filterargs, with the options being:
    page=<n>            - Controls pagination. Defaults to 1.
    tasktype=<type>     - Type can be one of hadoop.job_tracker.VALID_TASK_TYPES
                          ("map", "reduce", "job_cleanup", "job_setup")
    taskstate=<state>   - State can be one of hadoop.job_tracker.VALID_TASK_STATES
                          ("succeeded", "failed", "running", "pending", "killed")
    tasktext=<text>     - Where <text> is a string matching info on the task
   N/A ttypes N/A N/A N/A request GET get tasktype N/A tstates N/A N/A N/A request GET get taskstate N/A ttext N/A N/A N/A request GET get tasktext N/A pagenum N/A int N/A N/A N/A request GET get page 1 N/A pagenum N/A N/A N/A pagenum 0 pagenum 1 N/A filters N/A task_types task_states task_text pagenum N/A N/A ttypes N/A set N/A N/A ttypes split , None N/A N/A tstates N/A set N/A N/A tstates split , None ttext pagenum N/A jt N/A get_api N/A request user N/A request jt N/A task_list N/A N/A jt get_tasks N/A job jobId filters N/A filter_params N/A N/A N/A copy_query_dict N/A request GET N/A tasktype taskstate tasktext urlencode N/A N/A render tasks.mako request N/A request filter_params job task_list tasktype taskstate tasktext request filter_params job task_list ttypes tstates ttext N/A check_job_permission single_task N/A N/A request job taskid N/A N/A N/A jt N/A get_api N/A request user N/A request jt N/A job_link N/A N/A jt get_job_link N/A job jobId N/A task N/A N/A job_link get_task taskid N/A N/A render task.mako request N/A task joblnk task job_link N/A check_job_permission single_task_attempt N/A N/A request job taskid attemptid N/A N/A N/A jt N/A get_api N/A request user N/A request jt N/A job_link N/A N/A jt get_job_link N/A job jobId N/A task N/A N/A job_link get_task taskid N/A N/A N/A attempt N/A N/A task get_attempt attemptid N/A N/A N/A N/A KeyError RestException N/A e N/A N/A N/A PopupException N/A N/A _ Cannot find attempt '%(id)s' in task N/A id attemptid e N/A N/A render attempt.mako request N/A attempt taskid joblnk task attempt taskid job_link task N/A check_job_permission single_task_attempt_logs N/A N/A request job taskid attemptid N/A N/A N/A jt N/A get_api N/A request user N/A request jt N/A job_link N/A N/A jt get_job_link N/A job jobId N/A task N/A N/A job_link get_task taskid N/A N/A N/A attempt N/A N/A task get_attempt attemptid N/A N/A N/A N/A KeyError RestException N/A e N/A N/A N/A KeyError N/A N/A _ Cannot find attempt '%(id)s' in task N/A id attemptid e N/A first_log_tab 0 N/A N/A N/A N/A job_link is_mr2 N/A N/A diagnostic_log N/A attempt diagnostics N/A N/A diagnostic_log N/A N/A ,  join N/A N/A task diagnosticMap N/A N/A attempt attemptId N/A logs N/A diagnostic_log N/A logs N/A N/A N/A section strip N/A section N/A N/A attempt get_task_log N/A log_tab N/A i N/A N/A i log N/A enumerate logs log N/A log_tab N/A N/A first_log_tab N/A log_tab N/A 0 N/A N/A N/A TaskTrackerNotFoundException N/A N/A logs N/A N/A N/A _ Failed to retrieve log. TaskTracker not found. 4 N/A N/A N/A urllib2 URLError N/A N/A logs N/A N/A N/A _ Failed to retrieve log. TaskTracker not ready. 4 N/A context N/A attempt taskid joblnk task logs first_log_tab attempt taskid job_link task logs first_log_tab N/A N/A N/A N/A N/A request GET get format python N/A N/A context N/A N/A N/A context N/A logs N/A N/A N/A LinkJobLogs _make_links log N/A N/A i log N/A enumerate logs N/A N/A N/A N/A N/A request GET get format json N/A N/A response N/A logs isRunning N/A context N/A logs N/A N/A N/A N/A job status lower N/A running pending prep N/A N/A JsonResponse response N/A N/A N/A render attempt_logs.mako request context N/A check_job_permission task_attempt_counters N/A N/A request job taskid attemptid N/A N/A N/A 
  We get here from /jobs/jobid/tasks/taskid/attempts/attemptid/counters
  (phew!)
   N/A job_link N/A JobLinkage N/A request jt N/A job jobId N/A task N/A N/A job_link get_task taskid N/A attempt N/A N/A task get_attempt attemptid N/A counters N/A N/A attempt N/A N/A counters N/A attempt counters N/A N/A render counters.html request N/A counters counters N/A check_job_permission kill_task_attempt N/A N/A request attemptid N/A N/A N/A 
  We get here from /jobs/jobid/tasks/taskid/attempts/attemptid/kill
  TODO: security
   N/A ret N/A N/A N/A request jt kill_task_attempt N/A N/A N/A request jt thriftattemptid_from_string attemptid N/A N/A render_json N/A N/A N/A access_log_level N/A logging WARN trackers N/A N/A request N/A N/A N/A 
  We get here from /trackers
   N/A trackers N/A get_tasktrackers request N/A N/A render tasktrackers.mako request N/A trackers trackers N/A single_tracker N/A N/A request trackerid N/A N/A N/A jt N/A get_api N/A request user N/A request jt N/A N/A N/A tracker N/A N/A jt get_tracker trackerid N/A N/A N/A Exception N/A e N/A N/A N/A PopupException N/A _ The tracker could not be contacted. detail e N/A N/A render tasktracker.mako request N/A tracker tracker N/A container N/A N/A request node_manager_http_address containerid N/A N/A N/A jt N/A get_api N/A request user N/A request jt N/A N/A N/A tracker N/A N/A jt get_tracker node_manager_http_address containerid N/A N/A N/A Exception N/A e N/A N/A N/A PopupException N/A _ The container disappears as soon as the job finishes. detail e N/A N/A render container.mako request N/A tracker tracker N/A clusterstatus N/A N/A request N/A N/A N/A 
  We get here from /clusterstatus
   N/A N/A render clusterstatus.html request N/A Cluster N/A request jt N/A queues N/A N/A request N/A N/A N/A 
  We get here from /queues
   N/A N/A render queues.html request N/A queuelist N/A N/A N/A request jt queues N/A set_job_priority N/A N/A request job N/A N/A N/A 
  We get here from /jobs/job/setpriority?priority=PRIORITY
   N/A priority N/A N/A N/A request GET get priority N/A jid N/A N/A N/A request jt thriftjobid_from_string N/A job jobId N/A N/A N/A N/A request jt set_job_priority jid N/A N/A ThriftJobPriority _NAMES_TO_VALUES N/A priority N/A N/A render_json N/A N/A check_job_permission N/A CONF_VARIABLE_REGEX \$\{(.+)\} make_substitutions N/A N/A conf N/A N/A N/A 
  Substitute occurences of ${foo} with conf[foo], recursively, in all the values
  of the conf dict.

  Note that the Java code may also substitute Java properties in, which
  this code does not have.
   N/A r N/A N/A re compile CONF_VARIABLE_REGEX sub N/A N/A s depth N/A 0 N/A N/A N/A depth 100 N/A N/A N/A N/A logging warn N/A Max recursion depth exceeded when substituting jobconf value: %s s N/A s N/A m N/A N/A r search s N/A m N/A N/A g N/A g N/A g N/A N/A m groups N/A g conf N/A N/A substr N/A ${%s} g N/A s N/A N/A s replace substr N/A sub N/A conf N/A g N/A depth 1 N/A s N/A N/A N/A k v N/A N/A conf items N/A N/A N/A conf N/A k N/A sub v N/A conf N/A get_shorter_id N/A N/A hadoop_job_id N/A N/A N/A N/A N/A _ join N/A N/A N/A hadoop_job_id split _ N/A -2 N/A format_counter_name N/A N/A s N/A N/A N/A 
  Makes counter/config names human readable:
  FOOBAR_BAZ -> "Foobar Baz"
  foo_barBaz -> "Foo Bar Baz"
   splitCamels N/A N/A s N/A N/A N/A  Convert "fooBar" to "foo bar"  N/A N/A N/A re sub [a-z][A-Z] N/A N/A N/A x N/A N/A N/A N/A N/A N/A x group 0 N/A 0 N/A N/A N/A N/A N/A x group 0 N/A 1 lower s N/A N/A N/A N/A string capwords N/A N/A N/A N/A re sub _ N/A splitCamels s lower N/A get_state_link N/A N/A request option val VALID_OPTIONS N/A None N/A state user text taskstate N/A N/A 
    constructs the query string for the state of the current query for the jobs page.
    pass in the request, and an optional option/value pair; these are used for creating
    links to turn on the filter, while preserving the other present settings.
   N/A states N/A N/A val N/A quote_plus val N/A N/A N/A option None N/A option VALID_OPTIONS N/A states N/A dict N/A o VALID_OPTIONS N/A N/A N/A o N/A request GET N/A N/A N/A states N/A o N/A N/A request GET N/A o N/A N/A option None N/A N/A N/A states N/A option val N/A N/A N/A & join N/A N/A %s=%s N/A key N/A quote_plus value N/A N/A key value N/A N/A states iteritems N/A dock_jobs N/A N/A request N/A N/A N/A username N/A N/A request user username N/A matching_jobs N/A get_job_count_by_state request username N/A N/A render jobs_dock_info.mako request N/A jobs matching_jobs force_template True N/A N/A N/A register_status_bar_view dock_jobs get_tasktrackers N/A N/A request N/A N/A N/A 
  Return a ThriftTaskTrackerStatusList object containing all task trackers
   N/A N/A N/A Tracker tracker N/A tracker N/A N/A N/A N/A request jt all_task_trackers trackers N/A get_single_job N/A N/A request jobid N/A N/A N/A 
  Returns the job which matches jobid.
   N/A N/A N/A Job from_id jt N/A request jt jobid jobid N/A get_job_count_by_state N/A N/A request username N/A N/A N/A 
  Returns the number of comlpeted, running, and failed jobs for a user.
   N/A res N/A completed running failed killed all 0 0 0 0 0 N/A jobcounts N/A N/A N/A request jt get_job_count_by_user username N/A N/A res N/A completed N/A jobcounts nSucceeded N/A N/A res N/A running N/A N/A jobcounts nPrep N/A jobcounts nRunning N/A N/A res N/A failed N/A jobcounts nFailed N/A N/A res N/A killed N/A jobcounts nKilled N/A N/A res N/A all N/A N/A N/A N/A res N/A completed N/A res N/A running N/A res N/A failed N/A res N/A killed N/A res N/A jobbrowser N/A N/A request N/A N/A N/A 
  jobbrowser.jsp - a - like.
   check_job_state N/A N/A state N/A N/A N/A N/A N/A N/A job N/A N/A N/A job status state N/A N/A status N/A N/A N/A request jt cluster_status N/A alljobs N/A N/A runningjobs N/A filter N/A check_job_state RUNNING alljobs N/A completedjobs N/A filter N/A check_job_state COMPLETED alljobs N/A failedjobs N/A filter N/A check_job_state FAILED alljobs N/A killedjobs N/A filter N/A check_job_state KILLED alljobs N/A jobqueues N/A N/A N/A request jt queues N/A N/A render jobbrowser.html request N/A clusterstatus queues alljobs runningjobs failedjobs killedjobs completedjobs status jobqueues alljobs runningjobs failedjobs killedjobs completedjobs N/A