Module Import alias Import alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier Import alias identifier ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Dict FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpBitAnd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Dict Str Str Str Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Call NameLoad Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Dict Str Str Str Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Call NameLoad Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIn AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryFinally body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad For NameStore Call NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryFinally body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str finalbody Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryFinally body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Str Str Str Assign NameStore Call NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Num Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Num Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Num Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Num Assign NameStore Dict Str Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Dict Str Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Dict Str Num TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpBitAnd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Num Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Assign NameStore Call NameLoad Str ListLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpBitAnd NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpBitAnd NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpBitAnd NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword ListLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A mock N/A pkg_resources pkg sahara.conductor resource rsc sahara.plugins exceptions ex sahara.plugins.hdp clusterspec cs sahara.plugins.hdp.versions.version_2_0_6 services s2 sahara.plugins provisioning sahara.tests.unit base sahara_base N/A sahara.tests.unit.plugins.hdp.hdp_test_base base sahara.topology topology_helper th sahara version TestCONF N/A object N/A __init__ N/A N/A self enable_data_locality enable_hypervisor_awareness N/A N/A N/A N/A self enable_data_locality enable_data_locality N/A N/A self enable_hypervisor_awareness enable_hypervisor_awareness N/A N/A ClusterSpecTestForHDP2 N/A N/A sahara_base SaharaTestCase N/A N/A service_validators N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super ClusterSpecTestForHDP2 self setUp N/A N/A N/A self service_validators N/A YARN N/A self _assert_yarn N/A N/A N/A self service_validators N/A HDFS N/A self _assert_hdfs N/A N/A N/A self service_validators N/A MAPREDUCE2 N/A self _assert_mrv2 N/A N/A N/A self service_validators N/A GANGLIA N/A self _assert_ganglia N/A N/A N/A self service_validators N/A NAGIOS N/A self _assert_nagios N/A N/A N/A self service_validators N/A AMBARI N/A self _assert_ambari N/A N/A N/A self service_validators N/A PIG N/A self _assert_pig N/A N/A N/A self service_validators N/A HIVE N/A self _assert_hive N/A N/A N/A self service_validators N/A HCATALOG N/A self _assert_hcatalog N/A N/A N/A self service_validators N/A ZOOKEEPER N/A self _assert_zookeeper N/A N/A N/A self service_validators N/A WEBHCAT N/A self _assert_webhcat N/A N/A N/A self service_validators N/A OOZIE N/A self _assert_oozie N/A N/A N/A self service_validators N/A SQOOP N/A self _assert_sqoop N/A N/A N/A self service_validators N/A HBASE N/A self _assert_hbase N/A N/A N/A self service_validators N/A HUE N/A self _assert_hue N/A test_parse_default_with_cluster N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A server1 N/A N/A base TestServer host1 test-master 11111 3 111.11.1111 222.11.1111 N/A server2 N/A N/A base TestServer host2 test-slave 11111 3 222.22.2222 333.22.2222 N/A node_group1 N/A TestNodeGroup master N/A server1 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER SECONDARY_NAMENODE GANGLIA_SERVER GANGLIA_MONITOR NAGIOS_SERVER AMBARI_SERVER AMBARI_AGENT ZOOKEEPER_SERVER N/A node_group2 N/A TestNodeGroup slave N/A server2 N/A NODEMANAGER DATANODE N/A cluster N/A N/A base TestCluster N/A node_group1 node_group2 N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self _assert_services N/A cluster_config services N/A N/A N/A self _assert_configurations N/A cluster_config configurations N/A node_groups N/A cluster_config node_groups N/A N/A N/A self assertEqual 2 N/A len node_groups N/A N/A N/A self assertIn master node_groups N/A N/A N/A self assertIn slave node_groups N/A master_node_group N/A node_groups N/A master N/A N/A N/A self assertEqual master N/A master_node_group name N/A N/A N/A self assertEqual 13 N/A len N/A master_node_group components N/A N/A N/A self assertIn NAMENODE N/A master_node_group components N/A N/A N/A self assertIn RESOURCEMANAGER N/A master_node_group components N/A N/A N/A self assertIn HISTORYSERVER N/A master_node_group components N/A N/A N/A self assertIn SECONDARY_NAMENODE N/A master_node_group components N/A N/A N/A self assertIn GANGLIA_SERVER N/A master_node_group components N/A N/A N/A self assertIn GANGLIA_MONITOR N/A master_node_group components N/A N/A N/A self assertIn NAGIOS_SERVER N/A master_node_group components N/A N/A N/A self assertIn AMBARI_SERVER N/A master_node_group components N/A N/A N/A self assertIn AMBARI_AGENT N/A master_node_group components N/A N/A N/A self assertIn YARN_CLIENT N/A master_node_group components N/A N/A N/A self assertIn ZOOKEEPER_SERVER N/A master_node_group components N/A slave_node_group N/A node_groups N/A slave N/A N/A N/A self assertEqual slave N/A slave_node_group name N/A N/A N/A self assertIn NODEMANAGER N/A slave_node_group components N/A cluster_config N/A test_determine_component_hosts N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A server1 N/A N/A base TestServer ambari_machine master 11111 3 111.11.1111 222.11.1111 N/A server2 N/A N/A base TestServer host2 slave 11111 3 222.22.2222 333.22.2222 N/A server3 N/A N/A base TestServer host3 slave 11111 3 222.22.2223 333.22.2223 N/A node_group1 N/A TestNodeGroup master N/A server1 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER SECONDARY_NAMENODE GANGLIA_SERVER NAGIOS_SERVER AMBARI_SERVER ZOOKEEPER_SERVER N/A node_group2 N/A TestNodeGroup slave N/A server2 N/A DATANODE NODEMANAGER HDFS_CLIENT MAPREDUCE2_CLIENT N/A node_group3 N/A TestNodeGroup slave2 N/A server3 N/A DATANODE NODEMANAGER HDFS_CLIENT MAPREDUCE2_CLIENT N/A cluster N/A N/A base TestCluster N/A node_group1 node_group2 node_group3 N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A hosts N/A N/A cluster_config determine_component_hosts AMBARI_SERVER N/A N/A N/A self assertEqual 1 N/A len hosts N/A N/A N/A self assertEqual ambari_machine N/A N/A N/A N/A hosts pop fqdn N/A hosts N/A N/A cluster_config determine_component_hosts DATANODE N/A N/A N/A self assertEqual 2 N/A len hosts N/A datanodes N/A set N/A N/A N/A server2 fqdn N/A N/A server3 fqdn N/A host_fqdn N/A set N/A N/A N/A N/A N/A hosts pop fqdn N/A N/A N/A N/A hosts pop fqdn N/A N/A N/A self assertEqual datanodes N/A host_fqdn datanodes N/A test_finalize_configuration N/A N/A self patched N/A N/A N/A N/A patched return_value N/A N/A name value swift.prop1 swift_prop_value N/A name value swift.prop2 swift_prop_value2 N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A master_host N/A N/A base TestServer master.novalocal master 11111 3 111.11.1111 222.11.1111 N/A jt_host N/A N/A base TestServer jt_host.novalocal jt 11111 3 111.11.2222 222.11.2222 N/A nn_host N/A N/A base TestServer nn_host.novalocal nn 11111 3 111.11.3333 222.11.3333 N/A snn_host N/A N/A base TestServer snn_host.novalocal jt 11111 3 111.11.4444 222.11.4444 N/A hive_host N/A N/A base TestServer hive_host.novalocal hive 11111 3 111.11.5555 222.11.5555 N/A hive_ms_host N/A N/A base TestServer hive_ms_host.novalocal hive_ms 11111 3 111.11.6666 222.11.6666 N/A hive_mysql_host N/A N/A base TestServer hive_mysql_host.novalocal hive_mysql 11111 3 111.11.7777 222.11.7777 N/A hcat_host N/A N/A base TestServer hcat_host.novalocal hcat 11111 3 111.11.8888 222.11.8888 N/A zk1_host N/A N/A base TestServer zk1_host.novalocal zk1 11111 3 111.11.9999 222.11.9999 N/A zk2_host N/A N/A base TestServer zk2_host.novalocal zk2 11112 3 111.11.9990 222.11.9990 N/A oozie_host N/A N/A base TestServer oozie_host.novalocal oozie 11111 3 111.11.9999 222.11.9999 N/A slave_host N/A N/A base TestServer slave1.novalocal slave 11111 3 222.22.6666 333.22.6666 N/A master_ng N/A TestNodeGroup master N/A master_host N/A GANGLIA_SERVER GANGLIA_MONITOR NAGIOIS_SERVER AMBARI_SERVER AMBARI_AGENT N/A jt_ng N/A TestNodeGroup jt N/A jt_host N/A RESOURCEMANAGER GANGLIA_MONITOR HISTORYSERVER AMBARI_AGENT N/A nn_ng N/A TestNodeGroup nn N/A nn_host N/A NAMENODE GANGLIA_MONITOR AMBARI_AGENT N/A snn_ng N/A TestNodeGroup snn N/A snn_host N/A SECONDARY_NAMENODE GANGLIA_MONITOR AMBARI_AGENT N/A hive_ng N/A TestNodeGroup hive N/A hive_host N/A HIVE_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A hive_ms_ng N/A TestNodeGroup meta N/A hive_ms_host N/A HIVE_METASTORE GANGLIA_MONITOR AMBARI_AGENT N/A hive_mysql_ng N/A TestNodeGroup mysql N/A hive_mysql_host N/A MYSQL_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A hcat_ng N/A TestNodeGroup hcat N/A hcat_host N/A WEBHCAT_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A zk1_ng N/A TestNodeGroup zk1 N/A zk1_host N/A ZOOKEEPER_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A zk2_ng N/A TestNodeGroup zk2 N/A zk2_host N/A ZOOKEEPER_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A oozie_ng N/A TestNodeGroup oozie N/A oozie_host N/A OOZIE_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A slave_ng N/A TestNodeGroup slave N/A slave_host N/A DATANODE NODEMANAGER GANGLIA_MONITOR HDFS_CLIENT MAPREDUCE2_CLIENT OOZIE_CLIENT AMBARI_AGENT N/A user_input_config N/A TestUserInputConfig core-site cluster fs.defaultFS N/A user_input N/A N/A provisioning UserInput user_input_config hdfs://nn_dif_host.novalocal:8020 N/A cluster N/A N/A base TestCluster N/A master_ng jt_ng nn_ng snn_ng hive_ng hive_ms_ng hive_mysql_ng hcat_ng zk1_ng zk2_ng oozie_ng slave_ng N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A user_input N/A config N/A cluster_config configurations N/A N/A N/A self assertEqual hdfs://nn_dif_host.novalocal:8020 N/A N/A config N/A core-site N/A fs.defaultFS N/A N/A N/A self assertEqual jt_host.novalocal:19888 N/A N/A config N/A mapred-site N/A mapreduce.jobhistory.webapp.address N/A N/A N/A self assertEqual nn_host.novalocal:50070 N/A N/A config N/A hdfs-site N/A dfs.namenode.http-address N/A N/A N/A self assertEqual snn_host.novalocal:50090 N/A N/A config N/A hdfs-site N/A dfs.namenode.secondary.http-address N/A N/A N/A self assertEqual nn_host.novalocal:50470 N/A N/A config N/A hdfs-site N/A dfs.namenode.https-address N/A N/A N/A self assertEqual hive_host.novalocal N/A N/A config N/A global N/A hive_hostname N/A N/A N/A self assertEqual hive_host.novalocal N/A N/A config N/A core-site N/A hadoop.proxyuser.hive.hosts N/A N/A N/A self assertEqual jdbc:mysql://hive_mysql_host.novalocal/hive?createDatabaseIfNotExist=true N/A N/A config N/A hive-site N/A javax.jdo.option.ConnectionURL N/A N/A N/A self assertEqual thrift://hive_ms_host.novalocal:9083 N/A N/A config N/A hive-site N/A hive.metastore.uris N/A N/A N/A self assertTrue N/A hive.metastore.uris=thrift://hive_ms_host.novalocal:9083 N/A N/A config N/A webhcat-site N/A templeton.hive.properties N/A N/A N/A self assertEqual hcat_host.novalocal N/A N/A config N/A core-site N/A hadoop.proxyuser.hcat.hosts N/A N/A N/A self assertEqual N/A set N/A zk1_host.novalocal:2181 zk2_host.novalocal:2181 N/A set N/A N/A N/A N/A config N/A webhcat-site N/A templeton.zookeeper.hosts split , N/A N/A N/A self assertEqual http://oozie_host.novalocal:11000/oozie N/A N/A config N/A oozie-site N/A oozie.base.url N/A N/A N/A self assertEqual oozie_host.novalocal N/A N/A config N/A global N/A oozie_hostname N/A N/A N/A self assertEqual oozie_host.novalocal,222.11.9999,111.11.9999 N/A N/A config N/A core-site N/A hadoop.proxyuser.oozie.hosts N/A N/A N/A self assertEqual swift_prop_value N/A N/A config N/A core-site N/A swift.prop1 N/A N/A N/A self assertEqual swift_prop_value2 N/A N/A config N/A core-site N/A swift.prop2 N/A test_finalize_configuration_with_hue N/A N/A self patched N/A N/A N/A N/A patched return_value N/A N/A name value swift.prop1 swift_prop_value N/A name value swift.prop2 swift_prop_value2 N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A master_host N/A N/A base TestServer master.novalocal master 11111 3 111.11.1111 222.11.1111 N/A jt_host N/A N/A base TestServer jt_host.novalocal jt 11111 3 111.11.2222 222.11.2222 N/A nn_host N/A N/A base TestServer nn_host.novalocal nn 11111 3 111.11.3333 222.11.3333 N/A snn_host N/A N/A base TestServer snn_host.novalocal jt 11111 3 111.11.4444 222.11.4444 N/A hive_host N/A N/A base TestServer hive_host.novalocal hive 11111 3 111.11.5555 222.11.5555 N/A hive_ms_host N/A N/A base TestServer hive_ms_host.novalocal hive_ms 11111 3 111.11.6666 222.11.6666 N/A hive_mysql_host N/A N/A base TestServer hive_mysql_host.novalocal hive_mysql 11111 3 111.11.7777 222.11.7777 N/A hcat_host N/A N/A base TestServer hcat_host.novalocal hcat 11111 3 111.11.8888 222.11.8888 N/A zk1_host N/A N/A base TestServer zk1_host.novalocal zk1 11111 3 111.11.9999 222.11.9999 N/A zk2_host N/A N/A base TestServer zk2_host.novalocal zk2 11112 3 111.11.9990 222.11.9990 N/A oozie_host N/A N/A base TestServer oozie_host.novalocal oozie 11111 3 111.11.9999 222.11.9999 N/A slave_host N/A N/A base TestServer slave1.novalocal slave 11111 3 222.22.6666 333.22.6666 N/A master_ng N/A TestNodeGroup master N/A master_host N/A GANGLIA_SERVER GANGLIA_MONITOR NAGIOIS_SERVER AMBARI_SERVER AMBARI_AGENT N/A jt_ng N/A TestNodeGroup jt N/A jt_host N/A RESOURCEMANAGER GANGLIA_MONITOR HISTORYSERVER AMBARI_AGENT N/A nn_ng N/A TestNodeGroup nn N/A nn_host N/A NAMENODE GANGLIA_MONITOR AMBARI_AGENT N/A snn_ng N/A TestNodeGroup snn N/A snn_host N/A SECONDARY_NAMENODE GANGLIA_MONITOR AMBARI_AGENT N/A hive_ng N/A TestNodeGroup hive N/A hive_host N/A HIVE_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A hive_ms_ng N/A TestNodeGroup meta N/A hive_ms_host N/A HIVE_METASTORE GANGLIA_MONITOR AMBARI_AGENT N/A hive_mysql_ng N/A TestNodeGroup mysql N/A hive_mysql_host N/A MYSQL_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A hcat_ng N/A TestNodeGroup hcat N/A hcat_host N/A WEBHCAT_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A zk1_ng N/A TestNodeGroup zk1 N/A zk1_host N/A ZOOKEEPER_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A zk2_ng N/A TestNodeGroup zk2 N/A zk2_host N/A ZOOKEEPER_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A oozie_ng N/A TestNodeGroup oozie N/A oozie_host N/A OOZIE_SERVER GANGLIA_MONITOR AMBARI_AGENT N/A slave_ng N/A TestNodeGroup slave N/A slave_host N/A DATANODE NODEMANAGER GANGLIA_MONITOR HDFS_CLIENT MAPREDUCE2_CLIENT OOZIE_CLIENT AMBARI_AGENT HUE N/A user_input_config N/A TestUserInputConfig core-site cluster fs.defaultFS N/A user_input N/A N/A provisioning UserInput user_input_config hdfs://nn_dif_host.novalocal:8020 N/A cluster N/A N/A base TestCluster N/A master_ng jt_ng nn_ng snn_ng hive_ng hive_ms_ng hive_mysql_ng hcat_ng zk1_ng zk2_ng oozie_ng slave_ng N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A user_input N/A config N/A cluster_config configurations N/A N/A N/A self assertEqual hdfs://nn_dif_host.novalocal:8020 N/A N/A config N/A core-site N/A fs.defaultFS N/A N/A N/A self assertEqual jt_host.novalocal:19888 N/A N/A config N/A mapred-site N/A mapreduce.jobhistory.webapp.address N/A N/A N/A self assertEqual nn_host.novalocal:50070 N/A N/A config N/A hdfs-site N/A dfs.namenode.http-address N/A N/A N/A self assertEqual snn_host.novalocal:50090 N/A N/A config N/A hdfs-site N/A dfs.namenode.secondary.http-address N/A N/A N/A self assertEqual nn_host.novalocal:50470 N/A N/A config N/A hdfs-site N/A dfs.namenode.https-address N/A N/A N/A self assertEqual true N/A N/A config N/A hdfs-site N/A dfs.support.broken.append N/A N/A N/A self assertEqual true N/A N/A config N/A hdfs-site N/A dfs.webhdfs.enabled N/A N/A N/A self assertEqual hive_host.novalocal N/A N/A config N/A global N/A hive_hostname N/A N/A N/A self assertEqual hive_host.novalocal N/A N/A config N/A core-site N/A hadoop.proxyuser.hive.hosts N/A N/A N/A self assertEqual jdbc:mysql://hive_mysql_host.novalocal/hive?createDatabaseIfNotExist=true N/A N/A config N/A hive-site N/A javax.jdo.option.ConnectionURL N/A N/A N/A self assertEqual thrift://hive_ms_host.novalocal:9083 N/A N/A config N/A hive-site N/A hive.metastore.uris N/A N/A N/A self assertTrue N/A hive.metastore.uris=thrift://hive_ms_host.novalocal:9083 N/A N/A config N/A webhcat-site N/A templeton.hive.properties N/A N/A N/A self assertEqual * N/A N/A config N/A core-site N/A hadoop.proxyuser.hcat.hosts N/A N/A N/A self assertEqual * N/A N/A config N/A core-site N/A hadoop.proxyuser.hcat.groups N/A N/A N/A self assertEqual * N/A N/A config N/A core-site N/A hadoop.proxyuser.hue.hosts N/A N/A N/A self assertEqual * N/A N/A config N/A core-site N/A hadoop.proxyuser.hue.groups N/A N/A N/A self assertEqual N/A set N/A zk1_host.novalocal:2181 zk2_host.novalocal:2181 N/A set N/A N/A N/A N/A config N/A webhcat-site N/A templeton.zookeeper.hosts split , N/A N/A N/A self assertEqual * N/A N/A config N/A webhcat-site N/A webhcat.proxyuser.hue.hosts N/A N/A N/A self assertEqual * N/A N/A config N/A webhcat-site N/A webhcat.proxyuser.hue.groups N/A N/A N/A self assertEqual http://oozie_host.novalocal:11000/oozie N/A N/A config N/A oozie-site N/A oozie.base.url N/A N/A N/A self assertEqual * N/A N/A config N/A oozie-site N/A oozie.service.ProxyUserService.proxyuser.hue.groups N/A N/A N/A self assertEqual * N/A N/A config N/A oozie-site N/A oozie.service.ProxyUserService.proxyuser.hue.hosts N/A N/A N/A self assertEqual oozie_host.novalocal N/A N/A config N/A global N/A oozie_hostname N/A N/A N/A self assertEqual oozie_host.novalocal,222.11.9999,111.11.9999 N/A N/A config N/A core-site N/A hadoop.proxyuser.oozie.hosts N/A N/A N/A self assertEqual swift_prop_value N/A N/A config N/A core-site N/A swift.prop1 N/A N/A N/A self assertEqual swift_prop_value2 N/A N/A config N/A core-site N/A swift.prop2 N/A test__determine_deployed_services N/A N/A self nova_mock N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A master_host N/A N/A base TestServer master.novalocal master 11111 3 111.11.1111 222.11.1111 N/A jt_host N/A N/A base TestServer jt_host.novalocal jt 11111 3 111.11.2222 222.11.2222 N/A nn_host N/A N/A base TestServer nn_host.novalocal nn 11111 3 111.11.3333 222.11.3333 N/A snn_host N/A N/A base TestServer snn_host.novalocal jt 11111 3 111.11.4444 222.11.4444 N/A slave_host N/A N/A base TestServer slave1.novalocal slave 11111 3 222.22.6666 333.22.6666 N/A master_ng N/A TestNodeGroup master N/A master_host N/A GANGLIA_SERVER GANGLIA_MONITOR NAGIOS_SERVER AMBARI_SERVER AMBARI_AGENT ZOOKEEPER_SERVER N/A jt_ng N/A TestNodeGroup jt N/A jt_host N/A RESOURCEMANAGER HISTORYSERVER GANGLIA_MONITOR AMBARI_AGENT N/A nn_ng N/A TestNodeGroup nn N/A nn_host N/A NAMENODE GANGLIA_MONITOR AMBARI_AGENT N/A snn_ng N/A TestNodeGroup snn N/A snn_host N/A SECONDARY_NAMENODE GANGLIA_MONITOR AMBARI_AGENT N/A slave_ng N/A TestNodeGroup slave N/A slave_host N/A DATANODE NODEMANAGER GANGLIA_MONITOR HDFS_CLIENT MAPREDUCE2_CLIENT AMBARI_AGENT N/A cluster N/A N/A base TestCluster N/A master_ng jt_ng nn_ng snn_ng slave_ng N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A services N/A cluster_config services N/A service services N/A N/A N/A N/A service name N/A YARN HDFS MAPREDUCE2 GANGLIA AMBARI NAGIOS ZOOKEEPER N/A N/A N/A N/A self assertTrue N/A service deployed N/A N/A N/A N/A self assertFalse N/A service deployed N/A test_ambari_rpm_path N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A cluster_spec N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A ambari_config N/A N/A cluster_spec configurations N/A ambari N/A rpm N/A N/A ambari_config get rpm None N/A N/A N/A self assertEqual http://s3.amazonaws.com/public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.6.0/ambari.repo rpm N/A test_fs_umask N/A N/A self patched N/A N/A N/A s_conf N/A s2 CONF N/A N/A N/A N/A s2 CONF N/A TestCONF False False N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A server1 N/A N/A base TestServer host1 test-master 11111 3 111.11.1111 222.11.1111 N/A server2 N/A N/A base TestServer host2 test-slave 11111 3 222.22.2222 333.22.2222 N/A node_group1 N/A TestNodeGroup master N/A server1 N/A NAMENODE RESOURCEMANAGER SECONDARY_NAMENODE GANGLIA_SERVER GANGLIA_MONITOR NAGIOS_SERVER AMBARI_SERVER AMBARI_AGENT HISTORYSERVER ZOOKEEPER_SERVER N/A node_group2 N/A TestNodeGroup slave N/A server2 N/A NODEMANAGER DATANODE AMBARI_AGENT GANGLIA_MONITOR N/A cluster N/A N/A base TestCluster N/A node_group1 node_group2 N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self assertEqual 022 N/A N/A N/A cluster_config configurations N/A hdfs-site N/A fs.permissions.umask-mode N/A N/A N/A s2 CONF s_conf N/A test_parse_default N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A self _assert_services N/A cluster_config services N/A N/A N/A self _assert_configurations N/A cluster_config configurations N/A node_groups N/A cluster_config node_groups N/A N/A N/A self assertEqual 2 N/A len node_groups N/A master_node_group N/A node_groups N/A MASTER N/A N/A N/A self assertEqual MASTER N/A master_node_group name N/A N/A N/A self assertIsNone N/A master_node_group predicate N/A N/A N/A self assertEqual 1 N/A master_node_group cardinality N/A N/A N/A self assertEqual 8 N/A len N/A master_node_group components N/A N/A N/A self assertIn NAMENODE N/A master_node_group components N/A N/A N/A self assertIn RESOURCEMANAGER N/A master_node_group components N/A N/A N/A self assertIn HISTORYSERVER N/A master_node_group components N/A N/A N/A self assertIn SECONDARY_NAMENODE N/A master_node_group components N/A N/A N/A self assertIn GANGLIA_SERVER N/A master_node_group components N/A N/A N/A self assertIn NAGIOS_SERVER N/A master_node_group components N/A N/A N/A self assertIn AMBARI_SERVER N/A master_node_group components N/A N/A N/A self assertIn ZOOKEEPER_SERVER N/A master_node_group components N/A slave_node_group N/A node_groups N/A SLAVE N/A N/A N/A self assertEqual SLAVE N/A slave_node_group name N/A N/A N/A self assertIsNone N/A slave_node_group predicate N/A N/A N/A self assertEqual 1+ N/A slave_node_group cardinality N/A N/A N/A self assertEqual 5 N/A len N/A slave_node_group components N/A N/A N/A self assertIn DATANODE N/A slave_node_group components N/A N/A N/A self assertIn NODEMANAGER N/A slave_node_group components N/A N/A N/A self assertIn HDFS_CLIENT N/A slave_node_group components N/A N/A N/A self assertIn YARN_CLIENT N/A slave_node_group components N/A N/A N/A self assertIn MAPREDUCE2_CLIENT N/A slave_node_group components N/A cluster_config N/A test_ambari_rpm N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A self _assert_configurations N/A cluster_config configurations N/A ambari_config N/A N/A cluster_config configurations N/A ambari N/A N/A N/A self assertIsNotNone no rpm uri found N/A N/A ambari_config get rpm None N/A test_normalize N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A cluster N/A N/A cluster_config normalize N/A configs N/A cluster cluster_configs N/A contains_dfs_datanode_http_address False N/A contains_staging_dir False N/A contains_mapred_user False N/A entry configs N/A N/A config N/A entry config N/A N/A N/A config name dfs.datanode.http.address N/A N/A contains_dfs_datanode_http_address True N/A N/A N/A self assertEqual string N/A config type N/A N/A N/A self assertEqual 0.0.0.0:50075 N/A config default_value N/A N/A N/A self assertEqual HDFS N/A config applicable_target N/A N/A N/A config name yarn.app.mapreduce.am.staging-dir N/A N/A contains_staging_dir True N/A N/A N/A self assertEqual string N/A config type N/A N/A N/A self assertEqual /user N/A config default_value N/A N/A N/A self assertEqual MAPREDUCE2 N/A config applicable_target N/A N/A N/A config name mapred_user N/A N/A contains_mapred_user True N/A N/A N/A self assertEqual string N/A config type N/A N/A N/A self assertEqual mapred N/A config default_value N/A N/A N/A self assertEqual MAPREDUCE2 N/A config applicable_target N/A N/A N/A self assertTrue contains_dfs_datanode_http_address N/A N/A N/A self assertTrue contains_staging_dir N/A N/A N/A self assertTrue contains_mapred_user N/A node_groups N/A cluster node_groups N/A N/A N/A self assertEqual 2 N/A len node_groups N/A contains_master_group False N/A contains_slave_group False N/A i N/A range 2 N/A N/A node_group N/A node_groups N/A i N/A components N/A node_group node_processes N/A N/A N/A node_group name MASTER N/A N/A contains_master_group True N/A N/A N/A self assertEqual 8 N/A len components N/A N/A N/A self assertIn NAMENODE components N/A N/A N/A self assertIn RESOURCEMANAGER components N/A N/A N/A self assertIn HISTORYSERVER components N/A N/A N/A self assertIn SECONDARY_NAMENODE components N/A N/A N/A self assertIn GANGLIA_SERVER components N/A N/A N/A self assertIn NAGIOS_SERVER components N/A N/A N/A self assertIn AMBARI_SERVER components N/A N/A N/A self assertIn ZOOKEEPER_SERVER components N/A N/A N/A N/A node_group name SLAVE N/A N/A contains_slave_group True N/A N/A N/A self assertEqual 5 N/A len components N/A N/A N/A self assertIn DATANODE components N/A N/A N/A self assertIn NODEMANAGER components N/A N/A N/A self assertIn HDFS_CLIENT components N/A N/A N/A self assertIn YARN_CLIENT components N/A N/A N/A self assertIn MAPREDUCE2_CLIENT components N/A N/A N/A N/A self fail N/A N/A Unexpected node group: {0} format N/A node_group name N/A N/A N/A self assertTrue contains_master_group N/A N/A N/A self assertTrue contains_slave_group N/A test_existing_config_item_in_top_level_within_blueprint N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A user_input_config N/A TestUserInputConfig global OOZIE oozie_log_dir N/A user_input N/A N/A provisioning UserInput user_input_config /some/new/path N/A server1 N/A N/A base TestServer host1 test-master 11111 3 111.11.1111 222.11.1111 N/A server2 N/A N/A base TestServer host2 test-slave 11111 3 222.22.2222 333.22.2222 N/A node_group1 N/A TestNodeGroup master N/A server1 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER SECONDARY_NAMENODE GANGLIA_SERVER GANGLIA_MONITOR NAGIOS_SERVER AMBARI_SERVER ZOOKEEPER_SERVER AMBARI_AGENT N/A node_group2 N/A TestNodeGroup slave N/A server2 N/A NODEMANAGER DATANODE AMBARI_AGENT GANGLIA_MONITOR N/A cluster N/A N/A base TestCluster N/A node_group1 node_group2 N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A user_input N/A N/A N/A self assertEqual /some/new/path N/A N/A N/A cluster_config configurations N/A global N/A oozie_log_dir N/A test_new_config_item_in_top_level_within_blueprint N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A user_input_config N/A TestUserInputConfig global general new_property N/A user_input N/A N/A provisioning UserInput user_input_config foo N/A server1 N/A N/A base TestServer host1 test-master 11111 3 111.11.1111 222.11.1111 N/A server2 N/A N/A base TestServer host2 test-slave 11111 3 222.22.2222 333.22.2222 N/A node_group1 N/A TestNodeGroup master N/A server1 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER SECONDARY_NAMENODE GANGLIA_SERVER GANGLIA_MONITOR NAGIOS_SERVER AMBARI_SERVER ZOOKEEPER_SERVER AMBARI_AGENT N/A node_group2 N/A TestNodeGroup slave N/A server2 N/A NODEMANAGER DATANODE AMBARI_AGENT GANGLIA_MONITOR N/A cluster N/A N/A base TestCluster N/A node_group1 node_group2 N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A user_input N/A N/A N/A self assertEqual foo N/A N/A N/A cluster_config configurations N/A global N/A new_property N/A test_topology_configuration_no_hypervisor N/A N/A self patched N/A N/A N/A s_conf N/A s2 CONF N/A th_conf N/A th CONF N/A N/A N/A N/A s2 CONF N/A TestCONF True False N/A N/A th CONF N/A TestCONF True False N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A server1 N/A N/A base TestServer host1 test-master 11111 3 111.11.1111 222.11.1111 N/A server2 N/A N/A base TestServer host2 test-slave 11111 3 222.22.2222 333.22.2222 N/A node_group1 N/A TestNodeGroup master N/A server1 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER SECONDARY_NAMENODE GANGLIA_SERVER GANGLIA_MONITOR NAGIOS_SERVER AMBARI_SERVER ZOOKEEPER_SERVER AMBARI_AGENT N/A node_group2 N/A TestNodeGroup slave N/A server2 N/A NODEMANAGER DATANODE AMBARI_AGENT GANGLIA_MONITOR N/A cluster N/A N/A base TestCluster N/A node_group1 node_group2 N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self assertEqual org.apache.hadoop.net.NetworkTopology N/A N/A N/A cluster_config configurations N/A core-site N/A net.topology.impl N/A N/A N/A self assertEqual true N/A N/A N/A cluster_config configurations N/A core-site N/A net.topology.nodegroup.aware N/A N/A N/A self assertEqual org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicyWithNodeGroup N/A N/A N/A cluster_config configurations N/A core-site N/A dfs.block.replicator.classname N/A N/A N/A self assertEqual true N/A N/A N/A cluster_config configurations N/A core-site N/A fs.swift.service.sahara.location-aware N/A N/A N/A self assertEqual org.apache.hadoop.net.ScriptBasedMapping N/A N/A N/A cluster_config configurations N/A core-site N/A net.topology.node.switch.mapping.impl N/A N/A N/A self assertEqual /etc/hadoop/conf/topology.sh N/A N/A N/A cluster_config configurations N/A core-site N/A net.topology.script.file.name N/A N/A N/A self assertEqual true N/A N/A N/A cluster_config configurations N/A mapred-site N/A mapred.jobtracker.nodegroup.aware N/A N/A N/A self assertEqual 3 N/A N/A N/A cluster_config configurations N/A mapred-site N/A mapred.task.cache.levels N/A N/A N/A self assertEqual org.apache.hadoop.mapred.JobSchedulableWithNodeGroup N/A N/A N/A cluster_config configurations N/A mapred-site N/A mapred.jobtracker.jobSchedulable N/A N/A N/A s2 CONF s_conf N/A N/A th CONF th_conf N/A test_topology_configuration_with_hypervisor N/A N/A self patched N/A N/A N/A s_conf N/A s2 CONF N/A N/A N/A N/A s2 CONF N/A TestCONF True True N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A server1 N/A N/A base TestServer host1 test-master 11111 3 111.11.1111 222.11.1111 N/A server2 N/A N/A base TestServer host2 test-slave 11111 3 222.22.2222 333.22.2222 N/A node_group1 N/A TestNodeGroup master N/A server1 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER SECONDARY_NAMENODE GANGLIA_SERVER GANGLIA_MONITOR NAGIOS_SERVER AMBARI_SERVER ZOOKEEPER_SERVER AMBARI_AGENT N/A node_group2 N/A TestNodeGroup slave N/A server2 N/A NODEMANAGER DATANODE AMBARI_AGENT GANGLIA_MONITOR N/A cluster N/A N/A base TestCluster N/A node_group1 node_group2 N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self assertEqual org.apache.hadoop.net.NetworkTopologyWithNodeGroup N/A N/A N/A cluster_config configurations N/A core-site N/A net.topology.impl N/A N/A N/A s2 CONF s_conf N/A test_update_ambari_admin_user N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A user_input_config N/A TestUserInputConfig ambari-stack AMBARI ambari.admin.user N/A user_input N/A N/A provisioning UserInput user_input_config new-user N/A server1 N/A N/A base TestServer host1 test-master 11111 3 111.11.1111 222.11.1111 N/A server2 N/A N/A base TestServer host2 test-slave 11111 3 222.22.2222 333.22.2222 N/A node_group1 N/A TestNodeGroup master N/A server1 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER SECONDARY_NAMENODE GANGLIA_SERVER GANGLIA_MONITOR NAGIOS_SERVER AMBARI_SERVER ZOOKEEPER_SERVER AMBARI_AGENT N/A node_group2 N/A TestNodeGroup slave N/A server2 N/A NODEMANAGER DATANODE AMBARI_AGENT GANGLIA_MONITOR N/A cluster N/A N/A base TestCluster N/A node_group1 node_group2 N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A user_input N/A ambari_service N/A next N/A service N/A service N/A cluster_config services N/A N/A service name AMBARI N/A users N/A ambari_service users N/A N/A N/A self assertEqual 1 N/A len users N/A N/A N/A self assertEqual new-user N/A N/A users N/A 0 name N/A test_update_ambari_admin_password N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A user_input_config N/A TestUserInputConfig ambari-stack AMBARI ambari.admin.password N/A user_input N/A N/A provisioning UserInput user_input_config new-pwd N/A server1 N/A N/A base TestServer host1 test-master 11111 3 111.11.1111 222.11.1111 N/A server2 N/A N/A base TestServer host2 test-slave 11111 3 222.22.2222 333.22.2222 N/A node_group1 N/A TestNodeGroup master N/A server1 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER SECONDARY_NAMENODE GANGLIA_SERVER GANGLIA_MONITOR NAGIOS_SERVER AMBARI_SERVER ZOOKEEPER_SERVER AMBARI_AGENT N/A node_group2 N/A TestNodeGroup slave N/A server2 N/A NODEMANAGER DATANODE AMBARI_AGENT GANGLIA_MONITOR N/A cluster N/A N/A base TestCluster N/A node_group1 node_group2 N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A user_input N/A ambari_service N/A next N/A service N/A service N/A cluster_config services N/A N/A service name AMBARI N/A users N/A ambari_service users N/A N/A N/A self assertEqual 1 N/A len users N/A N/A N/A self assertEqual new-pwd N/A N/A users N/A 0 password N/A test_update_ambari_admin_user_and_password N/A N/A self patched N/A N/A N/A cluster_config_file N/A N/A pkg resource_string N/A N/A version version_info package plugins/hdp/versions/version_2_0_6/resources/default-cluster.template N/A user_user_input_config N/A TestUserInputConfig ambari-stack AMBARI ambari.admin.user N/A pwd_user_input_config N/A TestUserInputConfig ambari-stack AMBARI ambari.admin.password N/A user_user_input N/A N/A provisioning UserInput user_user_input_config new-admin_user N/A pwd_user_input N/A N/A provisioning UserInput pwd_user_input_config new-admin_pwd N/A server1 N/A N/A base TestServer host1 test-master 11111 3 111.11.1111 222.11.1111 N/A server2 N/A N/A base TestServer host2 test-slave 11111 3 222.22.2222 333.22.2222 N/A node_group1 N/A TestNodeGroup one N/A server1 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER SECONDARY_NAMENODE GANGLIA_SERVER GANGLIA_MONITOR NAGIOS_SERVER AMBARI_SERVER ZOOKEEPER_SERVER AMBARI_AGENT N/A node_group2 N/A TestNodeGroup two N/A server2 N/A NODEMANAGER DATANODE AMBARI_AGENT GANGLIA_MONITOR N/A cluster N/A N/A base TestCluster N/A node_group1 node_group2 N/A cluster_config N/A N/A cs ClusterSpec cluster_config_file version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A user_user_input pwd_user_input N/A ambari_service N/A next N/A service N/A service N/A cluster_config services N/A N/A service name AMBARI N/A users N/A ambari_service users N/A N/A N/A self assertEqual 1 N/A len users N/A N/A N/A self assertEqual new-admin_user N/A N/A users N/A 0 name N/A N/A N/A self assertEqual new-admin_pwd N/A N/A users N/A 0 password N/A test_validate_missing_hdfs N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A NODEMANAGER MAPREDUCE2_CLIENT HISTORYSERVER N/A node_group2 N/A TestNodeGroup master N/A server2 N/A RESOURCEMANAGER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex RequiredServiceMissingException N/A N/A N/A test_validate_missing_mr2 N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex RequiredServiceMissingException N/A N/A N/A test_validate_missing_ambari N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A NAMENODE RESOURCEMANAGER ZOOKEEPER_SERVER N/A node_group2 N/A TestNodeGroup master N/A server2 N/A DATANODE NODEMANAGER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex RequiredServiceMissingException N/A N/A N/A test_validate_hdfs N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER HDFS_CLIENT MAPREDUCE2_CLIENT 1 N/A node_group2 N/A TestNodeGroup master N/A server2 N/A RESOURCEMANAGER AMBARI_SERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER ZOOKEEPER_SERVER AMBARI_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A node_group3 N/A TestNodeGroup master2 N/A server2 N/A NAMENODE N/A cluster N/A N/A base TestCluster N/A node_group node_group2 node_group3 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A test_validate_hdfs_ha N/A N/A self patched N/A N/A N/A server1 N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A server3 N/A N/A base TestServer host3 master 11113 3 111.11.1113 222.22.2224 N/A node_group1 N/A TestNodeGroup slave N/A server1 N/A DATANODE NODEMANAGER HDFS_CLIENT MAPREDUCE2_CLIENT 1 N/A node_group2 N/A TestNodeGroup master1 N/A server2 N/A NAMENODE ZOOKEEPER_SERVER JOURNALNODE 1 N/A node_group3 N/A TestNodeGroup master2 N/A server3 N/A RESOURCEMANAGER HISTORYSERVER ZOOKEEPER_SERVER AMBARI_SERVER JOURNALNODE 1 N/A cc N/A HDFSHA N/A hdfs.nnha True N/A cc_r N/A N/A rsc Resource cc N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A cluster1 N/A N/A base TestCluster N/A node_group1 node_group2 node_group3 cc_r N/A N/A N/A self assertRaises N/A ex NameNodeHAConfigurationError N/A cluster_config create_operational_config cluster1 N/A N/A node_group2 N/A TestNodeGroup master1 N/A server2 N/A NAMENODE ZOOKEEPER_SERVER 2 N/A cluster1 N/A N/A base TestCluster N/A node_group1 node_group2 node_group3 cc_r N/A N/A N/A self assertRaises N/A ex NameNodeHAConfigurationError N/A cluster_config create_operational_config cluster1 N/A N/A node_group2 N/A TestNodeGroup master1 N/A server2 N/A NAMENODE JOURNALNODE 2 N/A cluster1 N/A N/A base TestCluster N/A node_group1 node_group2 node_group3 cc_r N/A N/A N/A self assertRaises N/A ex NameNodeHAConfigurationError N/A cluster_config create_operational_config cluster1 N/A N/A node_group2 N/A TestNodeGroup master1 N/A server2 N/A NAMENODE JOURNALNODE ZOOKEEPER_SERVER 2 N/A cluster1 N/A N/A base TestCluster N/A node_group1 node_group2 node_group3 cc_r N/A N/A N/A cluster_config create_operational_config cluster1 N/A N/A cc N/A HDFSHA N/A hdfs.nnha False N/A cc_r N/A N/A rsc Resource cc N/A node_group2 N/A TestNodeGroup master1 N/A server2 N/A NAMENODE JOURNALNODE ZOOKEEPER_SERVER 1 N/A cluster1 N/A N/A base TestCluster N/A node_group1 node_group2 node_group3 cc_r N/A N/A N/A self assertRaises N/A ex NameNodeHAConfigurationError N/A cluster_config create_operational_config cluster1 N/A N/A node_group2 N/A TestNodeGroup master1 N/A server2 N/A NAMENODE ZKFC ZOOKEEPER_SERVER 1 N/A cluster1 N/A N/A base TestCluster N/A node_group1 node_group2 node_group3 cc_r N/A N/A N/A self assertRaises N/A ex NameNodeHAConfigurationError N/A cluster_config create_operational_config cluster1 N/A N/A test_validate_yarn N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER HDFS_CLIENT MAPREDUCE2_CLIENT N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE AMBARI_SERVER ZOOKEEPER_SERVER HISTORYSERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER AMBARI_SERVER ZOOKEEPER_SERVER HISTORYSERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A node_group3 N/A TestNodeGroup master N/A server2 N/A RESOURCEMANAGER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 node_group3 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A node_group3 N/A TestNodeGroup master N/A server2 N/A NAMENODE N/A cluster N/A N/A base TestCluster N/A node_group node_group2 node_group3 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE HDFS_CLIENT MAPREDUCE2_CLIENT N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A test_validate_hive N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER HIVE_CLIENT N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER AMBARI_SERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HIVE_SERVER AMBARI_SERVER ZOOKEEPER_SERVER HISTORYSERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A node_group3 N/A TestNodeGroup master N/A server2 N/A HIVE_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 node_group3 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A test_validate_zk N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A server3 N/A N/A base TestServer host3 master 11113 3 111.11.1113 222.22.2224 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER ZOOKEEPER_CLIENT N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER AMBARI_SERVER HISTORYSERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER ZOOKEEPER_SERVER AMBARI_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A node_group3 N/A TestNodeGroup zkserver N/A server3 N/A ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 node_group3 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A test_validate_oozie N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER OOZIE_CLIENT N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER AMBARI_SERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER OOZIE_SERVER AMBARI_SERVER ZOOKEEPER_SERVER HISTORYSERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A node_group3 N/A TestNodeGroup master N/A server2 N/A OOZIE_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 node_group3 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A test_validate_ganglia N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER GANGLIA_MONITOR N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER AMBARI_SERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER GANGLIA_SERVER AMBARI_SERVER HISTORYSERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A node_group3 N/A TestNodeGroup master2 N/A server2 N/A GANGLIA_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 node_group3 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A test_validate_ambari N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER AMBARI_AGENT N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER AMBARI_SERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER AMBARI_SERVER ZOOKEEPER_SERVER N/A node_group3 N/A TestNodeGroup master N/A server2 N/A AMBARI_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 node_group3 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A test_validate_hue N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER HUE N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER AMBARI_SERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A self assertRaises N/A ex RequiredServiceMissingException N/A cluster_config create_operational_config cluster N/A N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HIVE_SERVER AMBARI_SERVER ZOOKEEPER_SERVER HISTORYSERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A self assertRaises N/A ex RequiredServiceMissingException N/A cluster_config create_operational_config cluster N/A N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER OOZIE_CLIENT HUE N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HIVE_SERVER AMBARI_SERVER ZOOKEEPER_SERVER HISTORYSERVER OOZIE_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A self assertRaises N/A ex RequiredServiceMissingException N/A cluster_config create_operational_config cluster N/A N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER OOZIE_CLIENT HUE N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HIVE_SERVER AMBARI_SERVER ZOOKEEPER_SERVER HISTORYSERVER OOZIE_SERVER WEBHCAT_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A hue_ngs N/A N/A cluster_config get_node_groups_containing_component HUE N/A N/A N/A self assertEqual 1 N/A len hue_ngs N/A N/A N/A self assertIn HIVE_CLIENT N/A N/A N/A hue_ngs pop components N/A node_group3 N/A TestNodeGroup master N/A server2 N/A HUE N/A cluster N/A N/A base TestCluster N/A node_group node_group2 node_group3 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A self assertRaises N/A ex InvalidComponentCountException N/A cluster_config create_operational_config cluster N/A N/A test_validate_scaling_existing_ng N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER AMBARI_SERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A scaled_groups N/A master 2 N/A N/A N/A N/A N/A cluster_config create_operational_config cluster N/A scaled_groups N/A N/A N/A self fail Validation should have thrown an exception N/A N/A N/A N/A ex InvalidComponentCountException N/A N/A N/A test_scale N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER AMBARI_AGENT N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER ZOOKEEPER_SERVER AMBARI_SERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A slave_ng N/A N/A cluster_config node_groups N/A slave N/A N/A N/A self assertEqual 1 N/A slave_ng count N/A N/A N/A cluster_config scale N/A slave 2 N/A N/A N/A self assertEqual 2 N/A slave_ng count N/A test_get_deployed_configurations N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A node_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER N/A node_group2 N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER AMBARI_SERVER ZOOKEEPER_SERVER HISTORYSERVER N/A cluster N/A N/A base TestCluster N/A node_group node_group2 N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A configs N/A N/A cluster_config get_deployed_configurations N/A expected_configs N/A set N/A mapred-site ambari hdfs-site global core-site yarn-site N/A N/A N/A self assertEqual expected_configs N/A expected_configs configs N/A test_get_deployed_node_group_count N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A slave_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER N/A slave2_group N/A TestNodeGroup slave2 N/A server N/A DATANODE NODEMANAGER N/A master_group N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER AMBARI_SERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A master_group slave_group slave2_group N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A N/A N/A self assertEqual 2 N/A N/A cluster_config get_deployed_node_group_count DATANODE N/A N/A N/A self assertEqual 1 N/A N/A cluster_config get_deployed_node_group_count AMBARI_SERVER N/A test_get_node_groups_containing_component N/A N/A self patched N/A N/A N/A server N/A N/A base TestServer host1 slave 11111 3 111.11.1111 222.22.2222 N/A server2 N/A N/A base TestServer host2 master 11112 3 111.11.1112 222.22.2223 N/A slave_group N/A TestNodeGroup slave N/A server N/A DATANODE NODEMANAGER N/A slave2_group N/A TestNodeGroup slave2 N/A server N/A DATANODE NODEMANAGER N/A master_group N/A TestNodeGroup master N/A server2 N/A NAMENODE RESOURCEMANAGER HISTORYSERVER AMBARI_SERVER ZOOKEEPER_SERVER N/A cluster N/A N/A base TestCluster N/A master_group slave_group slave2_group N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A N/A N/A cluster_config create_operational_config cluster N/A N/A datanode_ngs N/A N/A cluster_config get_node_groups_containing_component DATANODE N/A N/A N/A self assertEqual 2 N/A len datanode_ngs N/A ng_names N/A set N/A N/A N/A datanode_ngs N/A 0 name N/A N/A datanode_ngs N/A 1 name N/A N/A N/A self assertIn slave ng_names N/A N/A N/A self assertIn slave2 ng_names N/A test_get_components_for_type N/A N/A self patched N/A N/A N/A cluster_config N/A N/A base create_clusterspec hdp_version 2.0.6 N/A clients N/A N/A cluster_config get_components_for_type CLIENT N/A slaves N/A N/A cluster_config get_components_for_type SLAVE N/A masters N/A N/A cluster_config get_components_for_type MASTER N/A expected_clients N/A set N/A HCAT ZOOKEEPER_CLIENT MAPREDUCE2_CLIENT HIVE_CLIENT HDFS_CLIENT PIG YARN_CLIENT HUE N/A N/A N/A self assertEqual expected_clients N/A expected_clients N/A set clients N/A expected_slaves N/A set N/A AMBARI_AGENT NODEMANAGER DATANODE GANGLIA_MONITOR N/A N/A N/A self assertEqual expected_slaves N/A expected_slaves N/A set slaves N/A expected_masters N/A set N/A SECONDARY_NAMENODE HIVE_METASTORE AMBARI_SERVER RESOURCEMANAGER WEBHCAT_SERVER NAGIOS_SERVER MYSQL_SERVER ZOOKEEPER_SERVER NAMENODE HIVE_SERVER GANGLIA_SERVER N/A N/A N/A self assertEqual expected_masters N/A expected_masters N/A set masters N/A _assert_services N/A N/A self services N/A N/A N/A found_services N/A N/A service services N/A N/A name N/A service name N/A N/A N/A found_services append name N/A N/A N/A N/A self service_validators N/A name service N/A N/A N/A self assertEqual 15 N/A len found_services N/A N/A N/A self assertIn HDFS found_services N/A N/A N/A self assertIn MAPREDUCE2 found_services N/A N/A N/A self assertIn GANGLIA found_services N/A N/A N/A self assertIn NAGIOS found_services N/A N/A N/A self assertIn AMBARI found_services N/A N/A N/A self assertIn PIG found_services N/A N/A N/A self assertIn HIVE found_services N/A N/A N/A self assertIn HCATALOG found_services N/A N/A N/A self assertIn ZOOKEEPER found_services N/A N/A N/A self assertIn WEBHCAT found_services N/A N/A N/A self assertIn OOZIE found_services N/A N/A N/A self assertIn SQOOP found_services N/A N/A N/A self assertIn HBASE found_services N/A N/A N/A self assertIn HUE found_services N/A _assert_hdfs N/A N/A self service N/A N/A N/A N/A N/A self assertEqual HDFS N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 6 N/A len found_components N/A N/A N/A self _assert_component NAMENODE MASTER 1 N/A found_components N/A NAMENODE N/A N/A N/A self _assert_component DATANODE SLAVE 1+ N/A found_components N/A DATANODE N/A N/A N/A self _assert_component SECONDARY_NAMENODE MASTER 1 N/A found_components N/A SECONDARY_NAMENODE N/A N/A N/A self _assert_component HDFS_CLIENT CLIENT 1+ N/A found_components N/A HDFS_CLIENT N/A N/A N/A self _assert_component JOURNALNODE MASTER 1+ N/A found_components N/A JOURNALNODE N/A N/A N/A self _assert_component ZKFC MASTER 1+ N/A found_components N/A ZKFC N/A _assert_mrv2 N/A N/A self service N/A N/A N/A N/A N/A self assertEqual MAPREDUCE2 N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 2 N/A len found_components N/A N/A N/A self _assert_component HISTORYSERVER MASTER 1 N/A found_components N/A HISTORYSERVER N/A N/A N/A self _assert_component MAPREDUCE2_CLIENT CLIENT 1+ N/A found_components N/A MAPREDUCE2_CLIENT N/A _assert_yarn N/A N/A self service N/A N/A N/A N/A N/A self assertEqual YARN N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 3 N/A len found_components N/A N/A N/A self _assert_component RESOURCEMANAGER MASTER 1 N/A found_components N/A RESOURCEMANAGER N/A N/A N/A self _assert_component NODEMANAGER SLAVE 1+ N/A found_components N/A NODEMANAGER N/A N/A N/A self _assert_component YARN_CLIENT CLIENT 1+ N/A found_components N/A YARN_CLIENT N/A _assert_nagios N/A N/A self service N/A N/A N/A N/A N/A self assertEqual NAGIOS N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 1 N/A len found_components N/A N/A N/A self _assert_component NAGIOS_SERVER MASTER 1 N/A found_components N/A NAGIOS_SERVER N/A _assert_ganglia N/A N/A self service N/A N/A N/A N/A N/A self assertEqual GANGLIA N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 2 N/A len found_components N/A N/A N/A self _assert_component GANGLIA_SERVER MASTER 1 N/A found_components N/A GANGLIA_SERVER N/A N/A N/A self _assert_component GANGLIA_MONITOR SLAVE 1+ N/A found_components N/A GANGLIA_MONITOR N/A _assert_ambari N/A N/A self service N/A N/A N/A N/A N/A self assertEqual AMBARI N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 2 N/A len found_components N/A N/A N/A self _assert_component AMBARI_SERVER MASTER 1 N/A found_components N/A AMBARI_SERVER N/A N/A N/A self _assert_component AMBARI_AGENT SLAVE 1+ N/A found_components N/A AMBARI_AGENT N/A N/A N/A self assertEqual 1 N/A len N/A service users N/A user N/A N/A service users N/A 0 N/A N/A N/A self assertEqual admin N/A user name N/A N/A N/A self assertEqual admin N/A user password N/A groups N/A user groups N/A N/A N/A self assertEqual 1 N/A len groups N/A N/A N/A self assertIn admin groups N/A _assert_pig N/A N/A self service N/A N/A N/A N/A N/A self assertEqual PIG N/A service name N/A N/A N/A self assertEqual 1 N/A len N/A service components N/A N/A N/A self assertEqual PIG N/A N/A N/A service components N/A 0 name N/A _assert_hive N/A N/A self service N/A N/A N/A N/A N/A self assertEqual HIVE N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 4 N/A len found_components N/A N/A N/A self _assert_component HIVE_SERVER MASTER 1 N/A found_components N/A HIVE_SERVER N/A N/A N/A self _assert_component HIVE_METASTORE MASTER 1 N/A found_components N/A HIVE_METASTORE N/A N/A N/A self _assert_component MYSQL_SERVER MASTER 1 N/A found_components N/A MYSQL_SERVER N/A N/A N/A self _assert_component HIVE_CLIENT CLIENT 1+ N/A found_components N/A HIVE_CLIENT N/A _assert_hcatalog N/A N/A self service N/A N/A N/A N/A N/A self assertEqual HCATALOG N/A service name N/A N/A N/A self assertEqual 1 N/A len N/A service components N/A N/A N/A self assertEqual HCAT N/A N/A N/A service components N/A 0 name N/A _assert_zookeeper N/A N/A self service N/A N/A N/A N/A N/A self assertEqual ZOOKEEPER N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 2 N/A len found_components N/A N/A N/A self _assert_component ZOOKEEPER_SERVER MASTER 1+ N/A found_components N/A ZOOKEEPER_SERVER N/A N/A N/A self _assert_component ZOOKEEPER_CLIENT CLIENT 1+ N/A found_components N/A ZOOKEEPER_CLIENT N/A _assert_webhcat N/A N/A self service N/A N/A N/A N/A N/A self assertEqual WEBHCAT N/A service name N/A N/A N/A self assertEqual 1 N/A len N/A service components N/A N/A N/A self assertEqual WEBHCAT_SERVER N/A N/A N/A service components N/A 0 name N/A _assert_oozie N/A N/A self service N/A N/A N/A N/A N/A self assertEqual OOZIE N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 2 N/A len found_components N/A N/A N/A self _assert_component OOZIE_SERVER MASTER 1 N/A found_components N/A OOZIE_SERVER N/A N/A N/A self _assert_component OOZIE_CLIENT CLIENT 1+ N/A found_components N/A OOZIE_CLIENT N/A _assert_sqoop N/A N/A self service N/A N/A N/A N/A N/A self assertEqual SQOOP N/A service name N/A N/A N/A self assertEqual 1 N/A len N/A service components N/A N/A N/A self assertEqual SQOOP N/A N/A N/A service components N/A 0 name N/A _assert_hbase N/A N/A self service N/A N/A N/A N/A N/A self assertEqual HBASE N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 3 N/A len found_components N/A N/A N/A self _assert_component HBASE_MASTER MASTER 1 N/A found_components N/A HBASE_MASTER N/A N/A N/A self _assert_component HBASE_REGIONSERVER SLAVE 1+ N/A found_components N/A HBASE_REGIONSERVER N/A N/A N/A self _assert_component HBASE_CLIENT CLIENT 1+ N/A found_components N/A HBASE_CLIENT N/A _assert_hue N/A N/A self service N/A N/A N/A N/A N/A self assertEqual HUE N/A service name N/A found_components N/A N/A component N/A service components N/A N/A N/A found_components N/A N/A component name component N/A N/A N/A self assertEqual 1 N/A len found_components N/A N/A N/A self _assert_component HUE CLIENT 1 N/A found_components N/A HUE N/A _assert_component N/A N/A self name comp_type cardinality component N/A N/A N/A N/A N/A self assertEqual name N/A component name N/A N/A N/A self assertEqual comp_type N/A component type N/A N/A N/A self assertEqual cardinality N/A component cardinality N/A _assert_configurations N/A N/A self configurations N/A N/A N/A N/A N/A self assertEqual 17 N/A len configurations N/A N/A N/A self assertIn global configurations N/A N/A N/A self assertIn core-site configurations N/A N/A N/A self assertIn yarn-site configurations N/A N/A N/A self assertIn mapred-site configurations N/A N/A N/A self assertIn hdfs-site configurations N/A N/A N/A self assertIn ambari configurations N/A N/A N/A self assertIn webhcat-site configurations N/A N/A N/A self assertIn hive-site configurations N/A N/A N/A self assertIn oozie-site configurations N/A N/A N/A self assertIn hbase-site configurations N/A N/A N/A self assertIn capacity-scheduler configurations N/A N/A N/A self assertIn hue-ini configurations N/A N/A N/A self assertIn hue-core-site configurations N/A N/A N/A self assertIn hue-hdfs-site configurations N/A N/A N/A self assertIn hue-webhcat-site configurations N/A N/A N/A self assertIn hue-oozie-site configurations N/A N/A N/A self assertIn hdfsha configurations N/A N/A N/A N/A mock patch sahara.utils.openstack.nova.get_instance_info N/A base get_instance_info N/A N/A mock patch sahara.plugins.hdp.versions.version_2_0_6.services.HdfsService._get_swift_properties return_value N/A TestNodeGroup N/A object N/A __init__ N/A N/A self name instances node_processes count N/A 1 N/A N/A N/A self name name N/A N/A self instances instances N/A i instances N/A N/A N/A i node_group self N/A N/A self node_processes node_processes N/A N/A self count count N/A N/A self id name N/A storage_paths N/A N/A self N/A N/A N/A N/A N/A N/A TestUserInputConfig N/A object N/A __init__ N/A N/A self tag target name N/A N/A N/A N/A self tag tag N/A N/A self applicable_target target N/A N/A self name name N/A N/A