Module Import alias ImportFrom alias ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr NameLoad body Return Call NameLoad Return Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad Str Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Return IfExp NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad Str attr ListComp BinOpAdd NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr NameLoad body If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If UnaryOpNot BoolOpAnd CompareGtE NameLoad Num CompareEq BinOpMod NameLoad Num Num body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Num NameLoad If CompareGt NameLoad Num body Raise Call AttributeLoad NameLoad attr Str If CompareGt NameLoad Num body Raise Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Dict Str Str ListLoad Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Dict Str ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad NameLoad Str If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Assign SubscriptStore NameLoad Index Str Dict Str Str BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Dict Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Assign SubscriptStore NameLoad Index Str Dict Str Str BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Dict Str ListLoad Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Assign SubscriptStore NameLoad Index Str Dict Str Str BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Dict Str Str ListLoad Str ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Dict Str ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Dict Str ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Dict Str ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore ListComp Call AttributeLoad Str attr Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Str attr NameLoad Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareNotIn Str NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str Str ListLoad Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Dict Str Str Str Str Str Str BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Num orelse Raise Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Dict Str ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Str attr NameLoad Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareLt NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Str NameLoad If Call AttributeLoad NameLoad attr NameLoad body If UnaryOpNot BoolOpAnd CompareGtE NameLoad Num CompareEq BinOpMod NameLoad Num Num body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr Dict Str Str ListLoad Str ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad Str attr NameLoad Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Assign SubscriptStore NameLoad Index Str Dict Str BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareNotEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Str Assign SubscriptStore NameLoad Index Str Dict Str Call AttributeLoad Str attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareNotEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If Call AttributeLoad NameLoad attr Str body If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If Call AttributeLoad NameLoad attr Str body If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareNotIn Str AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore ListLoad Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return IfExp NameLoad BoolOpOr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return BoolOpOr NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index NameLoad BoolOpOr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Str If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore BinOpMult Str BinOpMult NameLoad Num AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore BinOpMult Str BinOpMult BinOpSub NameLoad Num Num AugAssignAdd NameStore BinOpMult Str NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore BinOpMult Str NameLoad AugAssignAdd NameStore Str AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Num orelse Return Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Str Dict Dict Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword NameLoad orelse Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If NameLoad body If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareGtE Call AttributeLoad NameLoad attr NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore NameLoad If BoolOpAnd NameLoad CompareGt Call NameLoad NameLoad Num body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If CompareNotIn NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore Dict Str Str Dict Dict Assign SubscriptStore SubscriptLoad NameLoad Index Str Index NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword NameLoad orelse For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareIn NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword NameLoad keyword NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index NameLoad keyword SubscriptLoad NameLoad Index NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Call AttributeLoad Str attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Num NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body For NameStore NameLoad body Assign NameStore BoolOpAnd AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Break If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str If Call AttributeLoad NameLoad attr Str body If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore BoolOpAnd CompareNotEq NameLoad Str CompareNotEq NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body For NameStore NameLoad body If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A re oslo_config cfg oslo_log log logging N/A six sahara context sahara exceptions e sahara.i18n _ sahara.i18n _LI sahara.i18n _LW sahara.plugins exceptions ex sahara.plugins utils sahara.swift swift_helper h sahara.topology topology_helper th N/A CONF N/A cfg CONF N/A TOPOLOGY_CONFIG N/A net.topology.node.switch.mapping.impl net.topology.script.file.name org.apache.hadoop.net.ScriptBasedMapping /etc/hadoop/conf/topology.sh N/A LOG N/A N/A logging getLogger __name__ create_service N/A N/A name N/A N/A N/A cls N/A N/A Service __subclasses__ N/A N/A N/A N/A N/A cls get_service_id name N/A N/A N/A cls N/A N/A Service name N/A Service N/A object N/A __init__ N/A N/A self name ambari_managed N/A True N/A N/A N/A self name name N/A N/A self configurations N/A set N/A global core-site N/A N/A self components N/A N/A N/A self users N/A N/A N/A self deployed False N/A N/A self ambari_managed ambari_managed N/A add_component N/A N/A self component N/A N/A N/A N/A N/A N/A self components append component N/A add_user N/A N/A self user N/A N/A N/A N/A N/A N/A self users append user N/A validate N/A N/A self cluster_spec cluster N/A N/A N/A N/A finalize_configuration N/A N/A self cluster_spec N/A N/A N/A N/A register_user_input_handlers N/A N/A self ui_handlers N/A N/A N/A N/A register_service_urls N/A N/A self cluster_spec url_info cluster N/A N/A N/A url_info N/A pre_service_start N/A N/A self cluster_spec ambari_info started_services N/A N/A N/A N/A finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A N/A is_user_template_component N/A N/A self component N/A N/A N/A True N/A is_mandatory N/A N/A self N/A N/A N/A False N/A _replace_config_token N/A N/A self cluster_spec token value props N/A N/A N/A N/A config_name props N/A N/A six iteritems props N/A N/A config N/A N/A cluster_spec configurations N/A config_name N/A prop props N/A N/A N/A config N/A prop N/A N/A N/A config N/A prop replace token value N/A _update_config_values N/A N/A self configurations value props N/A N/A N/A absolute_prop_name props N/A N/A tokens N/A N/A absolute_prop_name split / N/A config_name N/A tokens N/A 0 N/A prop_name N/A tokens N/A 1 N/A config N/A configurations N/A config_name N/A N/A config N/A prop_name value N/A _get_common_paths N/A N/A self node_groups N/A N/A N/A sets N/A N/A node_group node_groups N/A N/A instance N/A node_group instances N/A N/A N/A N/A sets append N/A set N/A N/A N/A instance sahara_instance storage_paths N/A N/A sets N/A list N/A N/A set intersection sets N/A N/A _generate_storage_path N/A N/A self storage_paths path N/A N/A N/A N/A N/A , join N/A N/A p path N/A p storage_paths N/A _get_port_from_cluster_spec N/A N/A self cluster_spec service prop_name N/A N/A N/A address N/A N/A N/A cluster_spec configurations N/A service N/A prop_name N/A N/A N/A utils get_port_from_address address N/A N/A HdfsService N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super HdfsService self __init__ N/A N/A HdfsService get_service_id N/A N/A N/A N/A self configurations add hdfs-site N/A get_service_id N/A N/A cls N/A N/A N/A HDFS N/A classmethod validate N/A N/A self cluster_spec cluster N/A N/A N/A nn_count N/A N/A cluster_spec get_deployed_node_group_count NAMENODE N/A jn_count N/A N/A cluster_spec get_deployed_node_group_count JOURNALNODE N/A zkfc_count N/A N/A cluster_spec get_deployed_node_group_count ZKFC N/A N/A N/A cluster_spec is_hdfs_ha_enabled cluster N/A N/A N/A nn_count 2 N/A N/A N/A N/A ex NameNodeHAConfigurationError N/A Hadoop cluster with HDFS HA enabled requires 2 NAMENODE. Actual NAMENODE count is %s nn_count N/A N/A N/A N/A jn_count 3 N/A N/A jn_count 2 1 N/A N/A N/A N/A ex NameNodeHAConfigurationError N/A JOURNALNODE count should be an odd number greater than or equal 3 for NameNode High Availability. Actual JOURNALNODE count is %s jn_count N/A N/A N/A nn_count 1 N/A N/A N/A N/A ex InvalidComponentCountException NAMENODE 1 nn_count N/A N/A jn_count 0 N/A N/A N/A N/A ex NameNodeHAConfigurationError JOURNALNODE can only be added when NameNode High Availability is enabled. N/A N/A zkfc_count 0 N/A N/A N/A N/A ex NameNodeHAConfigurationError ZKFC can only be added when NameNode High Availability is enabled. N/A finalize_configuration N/A N/A self cluster_spec N/A N/A N/A nn_hosts N/A N/A cluster_spec determine_component_hosts NAMENODE N/A nn_hosts N/A N/A props N/A core-site hdfs-site N/A fs.defaultFS N/A dfs.namenode.http-address dfs.namenode.https-address N/A N/A N/A self _replace_config_token cluster_spec %NN_HOST% N/A N/A N/A N/A nn_hosts pop fqdn props N/A snn_hosts N/A N/A cluster_spec determine_component_hosts SECONDARY_NAMENODE N/A snn_hosts N/A N/A props N/A hdfs-site N/A dfs.namenode.secondary.http-address N/A N/A N/A self _replace_config_token cluster_spec %SNN_HOST% N/A N/A N/A N/A snn_hosts pop fqdn props N/A core_site_config N/A N/A cluster_spec configurations N/A core-site N/A prop N/A N/A self _get_swift_properties N/A N/A N/A core_site_config N/A N/A prop N/A name N/A prop N/A value N/A N/A CONF enable_data_locality N/A N/A prop N/A N/A th vm_awareness_core_config N/A N/A N/A core_site_config N/A N/A prop N/A name N/A prop N/A value N/A N/A N/A core_site_config update TOPOLOGY_CONFIG N/A nn_ng N/A N/A N/A cluster_spec get_node_groups_containing_component NAMENODE N/A 0 N/A dn_node_groups N/A N/A cluster_spec get_node_groups_containing_component DATANODE N/A common_paths N/A N/A dn_node_groups N/A N/A common_paths N/A N/A self _get_common_paths dn_node_groups N/A hdfs_site_config N/A N/A cluster_spec configurations N/A hdfs-site N/A N/A hdfs_site_config N/A dfs.namenode.name.dir N/A N/A self _generate_storage_path N/A N/A self _get_common_paths N/A nn_ng /hadoop/hdfs/namenode N/A common_paths N/A N/A N/A hdfs_site_config N/A dfs.datanode.data.dir N/A N/A self _generate_storage_path common_paths /hadoop/hdfs/data N/A register_service_urls N/A N/A self cluster_spec url_info cluster N/A N/A N/A namenode_ip N/A N/A N/A N/A N/A cluster_spec determine_component_hosts NAMENODE pop management_ip N/A ui_port N/A N/A self _get_port_from_cluster_spec cluster_spec hdfs-site dfs.namenode.http-address N/A nn_port N/A N/A self _get_port_from_cluster_spec cluster_spec core-site fs.defaultFS N/A N/A url_info N/A HDFS N/A Web UI NameNode N/A http://%s:%s N/A namenode_ip ui_port N/A hdfs://%s:%s N/A namenode_ip nn_port N/A N/A N/A cluster_spec is_hdfs_ha_enabled cluster N/A N/A N/A N/A N/A url_info N/A HDFS update N/A NameService N/A hdfs://%s N/A cluster name N/A url_info N/A finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A hdfs_ng N/A N/A N/A cluster_spec get_node_groups_containing_component NAMENODE N/A 0 N/A components N/A hdfs_ng components N/A N/A N/A N/A cluster_spec get_deployed_node_group_count ZOOKEEPER_SERVER N/A N/A zk_service N/A next N/A service N/A service N/A cluster_spec services N/A N/A service name ZOOKEEPER N/A N/A zk_service deployed True N/A N/A N/A components append ZOOKEEPER_SERVER N/A is_mandatory N/A N/A self N/A N/A N/A True N/A _get_swift_properties N/A N/A self N/A N/A N/A N/A N/A h get_swift_configs N/A N/A MapReduce2Service N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super MapReduce2Service self __init__ N/A N/A MapReduce2Service get_service_id N/A N/A N/A N/A self configurations add mapred-site N/A get_service_id N/A N/A cls N/A N/A N/A MAPREDUCE2 N/A classmethod validate N/A N/A self cluster_spec cluster N/A N/A N/A count N/A N/A cluster_spec get_deployed_node_group_count HISTORYSERVER N/A N/A count 1 N/A N/A N/A N/A ex InvalidComponentCountException HISTORYSERVER 1 count N/A finalize_configuration N/A N/A self cluster_spec N/A N/A N/A hs_hosts N/A N/A cluster_spec determine_component_hosts HISTORYSERVER N/A hs_hosts N/A N/A props N/A mapred-site N/A mapreduce.jobhistory.webapp.address mapreduce.jobhistory.address N/A N/A N/A self _replace_config_token cluster_spec %HS_HOST% N/A N/A N/A N/A hs_hosts pop fqdn props N/A mapred_site_config N/A N/A cluster_spec configurations N/A mapred-site N/A N/A CONF enable_data_locality N/A N/A prop N/A N/A th vm_awareness_mapred_config N/A N/A N/A mapred_site_config N/A N/A prop N/A name N/A prop N/A value N/A register_service_urls N/A N/A self cluster_spec url_info cluster N/A N/A N/A historyserver_ip N/A N/A N/A N/A N/A cluster_spec determine_component_hosts HISTORYSERVER pop management_ip N/A ui_port N/A N/A self _get_port_from_cluster_spec cluster_spec mapred-site mapreduce.jobhistory.webapp.address N/A hs_port N/A N/A self _get_port_from_cluster_spec cluster_spec mapred-site mapreduce.jobhistory.address N/A N/A url_info N/A MapReduce2 N/A Web UI History Server N/A http://%s:%s N/A historyserver_ip ui_port N/A %s:%s N/A historyserver_ip hs_port N/A url_info N/A finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A mr2_ng N/A N/A N/A cluster_spec get_node_groups_containing_component HISTORYSERVER N/A 0 N/A components N/A mr2_ng components N/A N/A HDFS_CLIENT components N/A N/A N/A N/A components append HDFS_CLIENT N/A is_mandatory N/A N/A self N/A N/A N/A True N/A N/A YarnService N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super YarnService self __init__ N/A N/A YarnService get_service_id N/A N/A N/A N/A self configurations add yarn-site N/A N/A N/A N/A self configurations add capacity-scheduler N/A get_service_id N/A N/A cls N/A N/A N/A YARN N/A classmethod validate N/A N/A self cluster_spec cluster N/A N/A N/A count N/A N/A cluster_spec get_deployed_node_group_count RESOURCEMANAGER N/A N/A count 1 N/A N/A N/A N/A ex InvalidComponentCountException RESOURCEMANAGER 1 count N/A count N/A N/A cluster_spec get_deployed_node_group_count NODEMANAGER N/A N/A count N/A N/A N/A N/A ex InvalidComponentCountException NODEMANAGER > 0 count N/A finalize_configuration N/A N/A self cluster_spec N/A N/A N/A rm_hosts N/A N/A cluster_spec determine_component_hosts RESOURCEMANAGER N/A rm_hosts N/A N/A props N/A yarn-site N/A yarn.resourcemanager.resource-tracker.address yarn.resourcemanager.hostname yarn.resourcemanager.address yarn.resourcemanager.scheduler.address yarn.resourcemanager.webapp.address yarn.log.server.url yarn.resourcemanager.admin.address N/A N/A N/A self _replace_config_token cluster_spec %RM_HOST% N/A N/A N/A N/A rm_hosts pop fqdn props N/A mapred_site_config N/A N/A cluster_spec configurations N/A mapred-site N/A N/A CONF enable_data_locality N/A N/A prop N/A N/A th vm_awareness_mapred_config N/A N/A N/A mapred_site_config N/A N/A prop N/A name N/A prop N/A value N/A yarn_site_config N/A N/A cluster_spec configurations N/A yarn-site N/A nm_node_groups N/A N/A cluster_spec get_node_groups_containing_component NODEMANAGER N/A nm_node_groups N/A N/A common_paths N/A N/A self _get_common_paths nm_node_groups N/A N/A yarn_site_config N/A yarn.nodemanager.local-dirs N/A N/A self _generate_storage_path common_paths /hadoop/yarn/local N/A register_service_urls N/A N/A self cluster_spec url_info cluster N/A N/A N/A resourcemgr_ip N/A N/A N/A N/A N/A cluster_spec determine_component_hosts RESOURCEMANAGER pop management_ip N/A ui_port N/A N/A self _get_port_from_cluster_spec cluster_spec yarn-site yarn.resourcemanager.webapp.address N/A rm_port N/A N/A self _get_port_from_cluster_spec cluster_spec yarn-site yarn.resourcemanager.address N/A N/A url_info N/A Yarn N/A Web UI ResourceManager N/A http://%s:%s N/A resourcemgr_ip ui_port N/A %s:%s N/A resourcemgr_ip rm_port N/A url_info N/A is_mandatory N/A N/A self N/A N/A N/A True N/A N/A HiveService N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super HiveService self __init__ N/A N/A HiveService get_service_id N/A N/A N/A N/A self configurations add hive-site N/A get_service_id N/A N/A cls N/A N/A N/A HIVE N/A classmethod validate N/A N/A self cluster_spec cluster N/A N/A N/A count N/A N/A cluster_spec get_deployed_node_group_count HIVE_SERVER N/A N/A count 1 N/A N/A N/A N/A ex InvalidComponentCountException HIVE_SERVER 1 count N/A finalize_configuration N/A N/A self cluster_spec N/A N/A N/A hive_servers N/A N/A cluster_spec determine_component_hosts HIVE_SERVER N/A hive_servers N/A N/A props N/A global core-site N/A hive_hostname N/A hadoop.proxyuser.hive.hosts N/A N/A N/A self _replace_config_token cluster_spec %HIVE_HOST% N/A N/A N/A N/A hive_servers pop fqdn props N/A hive_ms N/A N/A cluster_spec determine_component_hosts HIVE_METASTORE N/A hive_ms N/A N/A N/A N/A self _replace_config_token cluster_spec %HIVE_METASTORE_HOST% N/A N/A N/A N/A hive_ms pop fqdn N/A hive-site N/A hive.metastore.uris N/A hive_mysql N/A N/A cluster_spec determine_component_hosts MYSQL_SERVER N/A hive_mysql N/A N/A N/A N/A self _replace_config_token cluster_spec %HIVE_MYSQL_HOST% N/A N/A N/A N/A hive_mysql pop fqdn N/A hive-site N/A javax.jdo.option.ConnectionURL N/A register_user_input_handlers N/A N/A self ui_handlers N/A N/A N/A N/A ui_handlers N/A hive-site/javax.jdo.option.ConnectionUserName N/A self _handle_user_property_metastore_user N/A N/A ui_handlers N/A hive-site/javax.jdo.option.ConnectionPassword N/A self _handle_user_property_metastore_pwd N/A _handle_user_property_metastore_user N/A N/A self user_input configurations N/A N/A N/A hive_site_config_map N/A configurations N/A hive-site N/A N/A hive_site_config_map N/A javax.jdo.option.ConnectionUserName N/A user_input value N/A _handle_user_property_metastore_pwd N/A N/A self user_input configurations N/A N/A N/A hive_site_config_map N/A configurations N/A hive-site N/A N/A hive_site_config_map N/A javax.jdo.option.ConnectionPassword N/A user_input value N/A finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A hive_ng N/A N/A N/A cluster_spec get_node_groups_containing_component HIVE_SERVER N/A 0 N/A components N/A hive_ng components N/A N/A MAPREDUCE2_CLIENT components N/A N/A N/A N/A components append MAPREDUCE2_CLIENT N/A N/A N/A N/A cluster_spec get_deployed_node_group_count HIVE_METASTORE N/A N/A N/A N/A components append HIVE_METASTORE N/A N/A N/A N/A cluster_spec get_deployed_node_group_count MYSQL_SERVER N/A N/A N/A N/A components append MYSQL_SERVER N/A N/A N/A N/A cluster_spec get_deployed_node_group_count ZOOKEEPER_SERVER N/A N/A zk_service N/A next N/A service N/A service N/A cluster_spec services N/A N/A service name ZOOKEEPER N/A N/A zk_service deployed True N/A N/A N/A components append ZOOKEEPER_SERVER N/A N/A WebHCatService N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super WebHCatService self __init__ N/A N/A WebHCatService get_service_id N/A N/A N/A N/A self configurations add webhcat-site N/A get_service_id N/A N/A cls N/A N/A N/A WEBHCAT N/A classmethod validate N/A N/A self cluster_spec cluster N/A N/A N/A count N/A N/A cluster_spec get_deployed_node_group_count WEBHCAT_SERVER N/A N/A count 1 N/A N/A N/A N/A ex InvalidComponentCountException WEBHCAT_SERVER 1 count N/A finalize_configuration N/A N/A self cluster_spec N/A N/A N/A webhcat_servers N/A N/A cluster_spec determine_component_hosts WEBHCAT_SERVER N/A webhcat_servers N/A N/A N/A N/A self _replace_config_token cluster_spec %WEBHCAT_HOST% N/A N/A N/A N/A webhcat_servers pop fqdn N/A core-site N/A hadoop.proxyuser.hcat.hosts N/A hive_ms_servers N/A N/A cluster_spec determine_component_hosts HIVE_METASTORE N/A hive_ms_servers N/A N/A N/A N/A self _replace_config_token cluster_spec %HIVE_METASTORE_HOST% N/A N/A N/A N/A hive_ms_servers pop fqdn N/A webhcat-site N/A templeton.hive.properties N/A zk_servers N/A N/A cluster_spec determine_component_hosts ZOOKEEPER_SERVER N/A zk_servers N/A N/A zk_list N/A N/A N/A {0}:2181 format N/A N/A z fqdn N/A z zk_servers N/A N/A N/A self _replace_config_token cluster_spec %ZOOKEEPER_HOSTS% N/A N/A , join zk_list N/A webhcat-site N/A templeton.zookeeper.hosts N/A finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A webhcat_ng N/A N/A N/A cluster_spec get_node_groups_containing_component WEBHCAT_SERVER N/A 0 N/A components N/A webhcat_ng components N/A N/A HDFS_CLIENT components N/A N/A N/A N/A components append HDFS_CLIENT N/A N/A MAPREDUCE2_CLIENT components N/A N/A N/A N/A components append MAPREDUCE2_CLIENT N/A N/A YARN_CLIENT components N/A N/A N/A N/A components append YARN_CLIENT N/A N/A ZOOKEEPER_CLIENT components N/A N/A N/A N/A N/A cluster_spec get_deployed_node_group_count ZOOKEEPER_SERVER N/A N/A zk_service N/A next N/A service N/A service N/A cluster_spec services N/A N/A service name ZOOKEEPER N/A N/A zk_service deployed True N/A N/A N/A components append ZOOKEEPER_SERVER N/A N/A N/A components append ZOOKEEPER_CLIENT N/A N/A HBaseService N/A Service N/A N/A property_map N/A hbase-site/hbase.tmp.dir hbase-site/hbase.regionserver.global.memstore.upperLimit hbase-site/hbase.hstore.blockingStoreFiles hbase-site/hbase.hstore.compactionThreshold hbase-site/hfile.block.cache.size hbase-site/hbase.hregion.max.filesize hbase-site/hbase.regionserver.handler.count hbase-site/hbase.hregion.majorcompaction hbase-site/hbase.regionserver.global.memstore.lowerLimit hbase-site/hbase.hregion.memstore.block.multiplier hbase-site/hbase.hregion.memstore.mslab.enabled hbase-site/hbase.hregion.memstore.flush.size hbase-site/hbase.client.scanner.caching hbase-site/zookeeper.session.timeout hbase-site/hbase.client.keyvalue.maxsize hdfs-site/dfs.support.append hbase-site/dfs.client.read.shortcircuit N/A hbase-site/hbase.tmp.dir global/hbase_tmp_dir N/A hbase-site/hbase.regionserver.global.memstore.upperLimit global/regionserver_memstore_upperlimit N/A hbase-site/hbase.hstore.blockingStoreFiles global/hstore_blockingstorefiles N/A hbase-site/hbase.hstore.compactionThreshold global/hstore_compactionthreshold N/A hbase-site/hfile.block.cache.size global/hfile_blockcache_size N/A hbase-site/hbase.hregion.max.filesize global/hstorefile_maxsize N/A hbase-site/hbase.regionserver.handler.count global/regionserver_handlers N/A hbase-site/hbase.hregion.majorcompaction global/hregion_majorcompaction N/A hbase-site/hbase.regionserver.global.memstore.lowerLimit global/regionserver_memstore_lowerlimit N/A hbase-site/hbase.hregion.memstore.block.multiplier global/hregion_blockmultiplier N/A hbase-site/hbase.hregion.memstore.mslab.enabled global/regionserver_memstore_lab N/A hbase-site/hbase.hregion.memstore.flush.size N/A hbase-site/hbase.client.scanner.caching global/client_scannercaching N/A hbase-site/zookeeper.session.timeout global/zookeeper_sessiontimeout N/A hbase-site/hbase.client.keyvalue.maxsize global/hfile_max_keyvalue_size N/A hdfs-site/dfs.support.append hbase-site/dfs.support.append global/hdfs_support_append N/A hbase-site/dfs.client.read.shortcircuit global/hdfs_enable_shortcircuit_read __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super HBaseService self __init__ N/A N/A HBaseService get_service_id N/A N/A N/A N/A self configurations add hbase-site N/A get_service_id N/A N/A cls N/A N/A N/A HBASE N/A classmethod validate N/A N/A self cluster_spec cluster N/A N/A N/A count N/A N/A cluster_spec get_deployed_node_group_count HBASE_MASTER N/A N/A count 1 N/A N/A N/A N/A ex InvalidComponentCountException HBASE_MASTER 1 count N/A register_service_urls N/A N/A self cluster_spec url_info cluster N/A N/A N/A master_ip N/A N/A N/A N/A N/A cluster_spec determine_component_hosts HBASE_MASTER pop management_ip N/A hbase_config N/A N/A cluster_spec configurations N/A hbase-site N/A info_port N/A hbase_config N/A hbase.master.info.port N/A N/A url_info N/A HBase N/A Web UI Logs Zookeeper Info JMX Debug Dump Thread Stacks N/A http://%s:%s/master-status N/A master_ip info_port N/A http://%s:%s/logs N/A master_ip info_port N/A http://%s:%s/zk.jsp N/A master_ip info_port N/A http://%s:%s/jmx N/A master_ip info_port N/A http://%s:%s/dump N/A master_ip info_port N/A http://%s:%s/stacks N/A master_ip info_port N/A url_info N/A register_user_input_handlers N/A N/A self ui_handlers N/A N/A N/A prop_name N/A self property_map N/A N/A N/A ui_handlers N/A prop_name N/A self _handle_config_property_update N/A N/A ui_handlers N/A hbase-site/hbase.rootdir N/A self _handle_user_property_root_dir N/A _handle_config_property_update N/A N/A self user_input configurations N/A N/A N/A N/A N/A self _update_config_values configurations N/A user_input value N/A N/A self property_map N/A N/A N/A user_input config name N/A _handle_user_property_root_dir N/A N/A self user_input configurations N/A N/A N/A N/A N/A configurations N/A hbase-site N/A hbase.rootdir N/A user_input value N/A match N/A N/A re search (^hdfs://)(.*?)(/.*) N/A user_input value N/A match N/A N/A N/A N/A configurations N/A global N/A hbase_hdfs_root_dir N/A N/A match group 3 N/A N/A N/A N/A e InvalidDataException N/A N/A _ Invalid value for property 'hbase-site/hbase.rootdir' : %s N/A user_input value N/A finalize_configuration N/A N/A self cluster_spec N/A N/A N/A nn_servers N/A N/A cluster_spec determine_component_hosts NAMENODE N/A nn_servers N/A N/A N/A N/A self _replace_config_token cluster_spec %NN_HOST% N/A N/A N/A N/A nn_servers pop fqdn N/A hbase-site N/A hbase.rootdir N/A zk_servers N/A N/A cluster_spec determine_component_hosts ZOOKEEPER_SERVER N/A zk_servers N/A N/A zk_list N/A N/A N/A z fqdn N/A z zk_servers N/A N/A N/A self _replace_config_token cluster_spec %ZOOKEEPER_HOSTS% N/A N/A , join zk_list N/A hbase-site N/A hbase.zookeeper.quorum N/A finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A hbase_ng N/A N/A cluster_spec get_node_groups_containing_component HBASE_MASTER N/A components N/A N/A hbase_ng N/A 0 components N/A N/A HDFS_CLIENT components N/A N/A N/A N/A components append HDFS_CLIENT N/A N/A N/A N/A cluster_spec get_deployed_node_group_count HBASE_REGIONSERVER N/A N/A N/A N/A components append HBASE_REGIONSERVER N/A N/A hbase_ng N/A N/A cluster_spec get_node_groups_containing_component HBASE_REGIONSERVER N/A ng hbase_ng N/A N/A components N/A ng components N/A N/A HDFS_CLIENT components N/A N/A N/A N/A components append HDFS_CLIENT N/A N/A N/A N/A cluster_spec get_deployed_node_group_count ZOOKEEPER_SERVER N/A N/A zk_service N/A next N/A service N/A service N/A cluster_spec services N/A N/A service name ZOOKEEPER N/A N/A zk_service deployed True N/A N/A N/A components append ZOOKEEPER_SERVER N/A N/A ZookeeperService N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super ZookeeperService self __init__ N/A N/A ZookeeperService get_service_id N/A get_service_id N/A N/A cls N/A N/A N/A ZOOKEEPER N/A classmethod validate N/A N/A self cluster_spec cluster N/A N/A N/A count N/A N/A cluster_spec get_deployed_node_group_count ZOOKEEPER_SERVER N/A N/A count 1 N/A N/A N/A N/A ex InvalidComponentCountException ZOOKEEPER_SERVER 1+ count N/A N/A N/A cluster_spec is_hdfs_ha_enabled cluster N/A N/A N/A N/A N/A count 3 N/A N/A count 2 1 N/A N/A N/A N/A ex NameNodeHAConfigurationError N/A ZOOKEEPER_SERVER count should be an odd number greater than 3 for NameNode High Availability. Actual ZOOKEEPER_SERVER count is %s count N/A is_mandatory N/A N/A self N/A N/A N/A True N/A N/A OozieService N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super OozieService self __init__ N/A N/A OozieService get_service_id N/A N/A N/A N/A self configurations add oozie-site N/A get_service_id N/A N/A cls N/A N/A N/A OOZIE N/A classmethod validate N/A N/A self cluster_spec cluster N/A N/A N/A count N/A N/A cluster_spec get_deployed_node_group_count OOZIE_SERVER N/A N/A count 1 N/A N/A N/A N/A ex InvalidComponentCountException OOZIE_SERVER 1 count N/A count N/A N/A cluster_spec get_deployed_node_group_count OOZIE_CLIENT N/A N/A count N/A N/A N/A N/A ex InvalidComponentCountException OOZIE_CLIENT 1+ count N/A finalize_configuration N/A N/A self cluster_spec N/A N/A N/A oozie_servers N/A N/A cluster_spec determine_component_hosts OOZIE_SERVER N/A oozie_servers N/A N/A oozie_server N/A N/A oozie_servers pop N/A name_list N/A N/A N/A oozie_server fqdn N/A oozie_server internal_ip N/A oozie_server management_ip N/A N/A N/A self _replace_config_token cluster_spec %OOZIE_HOST% N/A N/A oozie_server fqdn N/A global oozie-site N/A oozie_hostname N/A oozie.base.url N/A N/A N/A self _replace_config_token cluster_spec %OOZIE_HOST% N/A N/A , join name_list N/A core-site N/A hadoop.proxyuser.oozie.hosts N/A finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A oozie_ng N/A N/A N/A cluster_spec get_node_groups_containing_component OOZIE_SERVER N/A 0 N/A components N/A oozie_ng components N/A N/A HDFS_CLIENT components N/A N/A N/A N/A components append HDFS_CLIENT N/A N/A MAPREDUCE2_CLIENT components N/A N/A N/A N/A components append MAPREDUCE2_CLIENT N/A N/A YARN_CLIENT components N/A N/A N/A N/A components append YARN_CLIENT N/A client_ngs N/A N/A cluster_spec get_node_groups_containing_component OOZIE_CLIENT N/A ng client_ngs N/A N/A components N/A ng components N/A N/A HDFS_CLIENT components N/A N/A N/A N/A components append HDFS_CLIENT N/A N/A MAPREDUCE2_CLIENT components N/A N/A N/A N/A components append MAPREDUCE2_CLIENT N/A register_service_urls N/A N/A self cluster_spec url_info cluster N/A N/A N/A oozie_ip N/A N/A N/A N/A N/A cluster_spec determine_component_hosts OOZIE_SERVER pop management_ip N/A port N/A N/A self _get_port_from_cluster_spec cluster_spec oozie-site oozie.base.url N/A N/A url_info N/A JobFlow N/A Oozie N/A http://%s:%s N/A oozie_ip port N/A url_info N/A register_user_input_handlers N/A N/A self ui_handlers N/A N/A N/A N/A ui_handlers N/A oozie-site/oozie.service.JPAService.jdbc.username N/A self _handle_user_property_db_user N/A N/A ui_handlers N/A oozie.service.JPAService.jdbc.password N/A self _handle_user_property_db_pwd N/A _handle_user_property_db_user N/A N/A self user_input configurations N/A N/A N/A oozie_site_config_map N/A configurations N/A oozie-site N/A N/A oozie_site_config_map N/A oozie.service.JPAService.jdbc.username N/A user_input value N/A _handle_user_property_db_pwd N/A N/A self user_input configurations N/A N/A N/A oozie_site_config_map N/A configurations N/A oozie-site N/A N/A oozie_site_config_map N/A oozie.service.JPAService.jdbc.password N/A user_input value N/A N/A GangliaService N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super GangliaService self __init__ N/A N/A GangliaService get_service_id N/A get_service_id N/A N/A cls N/A N/A N/A GANGLIA N/A classmethod validate N/A N/A self cluster_spec cluster N/A N/A N/A count N/A N/A cluster_spec get_deployed_node_group_count GANGLIA_SERVER N/A N/A count 1 N/A N/A N/A N/A ex InvalidComponentCountException GANGLIA_SERVER 1 count N/A is_user_template_component N/A N/A self component N/A N/A N/A N/A N/A component name GANGLIA_MONITOR N/A finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A ng N/A N/A N/A cluster_spec node_groups values N/A N/A N/A GANGLIA_MONITOR N/A ng components N/A N/A N/A N/A N/A ng components append GANGLIA_MONITOR N/A N/A AmbariService N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super AmbariService self __init__ N/A N/A AmbariService get_service_id False N/A N/A N/A N/A self configurations add ambari N/A N/A self admin_user_name admin N/A get_service_id N/A N/A cls N/A N/A N/A AMBARI N/A classmethod validate N/A N/A self cluster_spec cluster N/A N/A N/A count N/A N/A cluster_spec get_deployed_node_group_count AMBARI_SERVER N/A N/A count 1 N/A N/A N/A N/A ex InvalidComponentCountException AMBARI_SERVER 1 count N/A register_service_urls N/A N/A self cluster_spec url_info cluster N/A N/A N/A ambari_ip N/A N/A N/A N/A N/A cluster_spec determine_component_hosts AMBARI_SERVER pop management_ip N/A port N/A N/A N/A N/A cluster_spec configurations N/A ambari get server.port 8080 N/A N/A url_info N/A Ambari Console N/A Web UI N/A N/A http://{0}:{1} format ambari_ip port N/A url_info N/A is_user_template_component N/A N/A self component N/A N/A N/A N/A N/A component name AMBARI_AGENT N/A register_user_input_handlers N/A N/A self ui_handlers N/A N/A N/A N/A ui_handlers N/A ambari-stack/ambari.admin.user N/A self _handle_user_property_admin_user N/A N/A ui_handlers N/A ambari-stack/ambari.admin.password N/A self _handle_user_property_admin_password N/A is_mandatory N/A N/A self N/A N/A N/A True N/A _handle_user_property_admin_user N/A N/A self user_input configurations N/A N/A N/A admin_user N/A next N/A user N/A user N/A self users N/A N/A user name admin N/A N/A admin_user name N/A user_input value N/A N/A self admin_user_name N/A user_input value N/A _handle_user_property_admin_password N/A N/A self user_input configurations N/A N/A N/A admin_user N/A next N/A user N/A user N/A self users N/A N/A user name N/A self admin_user_name N/A N/A admin_user password N/A user_input value N/A N/A SqoopService N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super SqoopService self __init__ N/A N/A SqoopService get_service_id N/A get_service_id N/A N/A cls N/A N/A N/A SQOOP N/A classmethod finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A sqoop_ngs N/A N/A cluster_spec get_node_groups_containing_component SQOOP N/A ng sqoop_ngs N/A N/A N/A HDFS_CLIENT N/A ng components N/A N/A N/A N/A N/A ng components append HDFS_CLIENT N/A N/A MAPREDUCE2_CLIENT N/A ng components N/A N/A N/A N/A N/A ng components append MAPREDUCE2_CLIENT N/A N/A NagiosService N/A Service N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super NagiosService self __init__ N/A N/A NagiosService get_service_id N/A get_service_id N/A N/A cls N/A N/A N/A NAGIOS N/A classmethod finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A nagios_ngs N/A N/A cluster_spec get_node_groups_containing_component NAGIOS_SERVER N/A ng nagios_ngs N/A N/A N/A YARN_CLIENT N/A ng components N/A N/A N/A N/A N/A ng components append YARN_CLIENT N/A N/A MAPREDUCE2_CLIENT N/A ng components N/A N/A N/A N/A N/A ng components append MAPREDUCE2_CLIENT N/A N/A N/A cluster_spec get_deployed_node_group_count OOZIE_SERVER N/A N/A N/A OOZIE_CLIENT N/A ng components N/A N/A N/A N/A N/A ng components append OOZIE_CLIENT N/A N/A N/A cluster_spec get_deployed_node_group_count HIVE_SERVER N/A N/A N/A HIVE_CLIENT N/A ng components N/A N/A N/A N/A N/A ng components append HIVE_CLIENT N/A N/A HCAT N/A ng components N/A N/A N/A N/A N/A cluster_spec get_deployed_node_group_count HCATALOG N/A N/A hcat_service N/A next N/A service N/A service N/A cluster_spec services N/A N/A service name HCATALOG N/A N/A hcat_service deployed True N/A N/A N/A N/A ng components append HCAT N/A N/A HueService N/A Service N/A N/A default_web_ui_port 8000 N/A required_services N/A HIVE OOZIE WEBHCAT YARN __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super HueService self __init__ N/A N/A HueService get_service_id False N/A get_service_id N/A N/A cls N/A N/A N/A HUE N/A classmethod _get_java_home_from_config N/A N/A config N/A N/A N/A N/A config N/A N/A N/A config get java64_home None N/A N/A config get java_home None None N/A staticmethod _get_java_home N/A N/A cluster_spec N/A N/A N/A java_home N/A N/A HueService _get_java_home_from_config N/A N/A N/A cluster_spec configurations get hue None N/A N/A java_home N/A N/A java_home N/A N/A HueService _get_java_home_from_config N/A N/A N/A cluster_spec configurations get global None N/A N/A java_home /opt/jdk1.6.0_31 N/A staticmethod _append_host_substitution N/A N/A cluster_spec component var_name var_pattern_name subs N/A N/A N/A hosts N/A N/A cluster_spec determine_component_hosts component N/A hosts N/A N/A N/A subs N/A var_name N/A N/A N/A N/A N/A hosts pop fqdn localhost N/A N/A subs N/A var_pattern_name N/A N/A N/A subs N/A var_name replace . \. N/A staticmethod _create_hue_ini_file_section N/A N/A property_sub_tree level N/A N/A N/A properties N/A property_sub_tree N/A properties N/A sections N/A property_sub_tree N/A sections N/A s N/A properties N/A N/A N/A name value N/A N/A six iteritems properties N/A N/A s N/A N/A level 2 N/A s N/A N/A {0} = {1}
 format name value N/A sections N/A N/A N/A name section N/A N/A six iteritems sections N/A N/A s N/A s N/A N/A N/A level 1 2 N/A s N/A [ level N/A s name N/A s N/A ] level N/A s N/A s N/A N/A HueService _create_hue_ini_file_section section N/A level 1 N/A s N/A staticmethod _create_hue_ini_file N/A N/A property_tree N/A N/A N/A property_tree N/A N/A N/A N/A HueService _create_hue_ini_file_section property_tree 1 N/A N/A N/A staticmethod _create_hue_property_tree N/A N/A cluster_spec N/A N/A N/A config_name hue-ini N/A hue_ini_property_tree N/A sections properties N/A N/A N/A config N/A N/A cluster_spec configurations N/A config_name N/A N/A config None N/A N/A N/A N/A LOG warning N/A N/A N/A _LW Missing configuration named {config_name}, aborting Hue ini file creation format config_name config_name N/A N/A subs N/A N/A N/A subs N/A %JAVA_HOME% N/A N/A HueService _get_java_home cluster_spec N/A N/A N/A HueService _append_host_substitution cluster_spec NAMENODE %NN_HOST% %NN_HOST_PATTERN% subs N/A N/A N/A HueService _append_host_substitution cluster_spec RESOURCEMANAGER %RM_HOST% %RM_HOST_PATTERN% subs N/A N/A N/A HueService _append_host_substitution cluster_spec HISTORYSERVER %HS_HOST% %HS_HOST_PATTERN% subs N/A N/A N/A HueService _append_host_substitution cluster_spec OOZIE_SERVER %OOZIE_HOST% %OOZIE_HOST_PATTERN% subs N/A N/A N/A HueService _append_host_substitution cluster_spec WEBHCAT_SERVER %WEBHCAT_HOST% %WEBHCAT_HOST_PATTERN% subs N/A N/A N/A HueService _append_host_substitution cluster_spec HUE %HUE_HOST% %HUE_HOST_PATTERN% subs N/A N/A prop_name prop_value N/A N/A six iteritems config N/A N/A prop_value N/A N/A subs N/A N/A N/A placeholder sub N/A N/A six iteritems subs N/A N/A N/A N/A N/A prop_value find placeholder 0 N/A N/A value N/A N/A prop_value replace placeholder sub N/A N/A N/A LOG debug N/A N/A Converting placeholder in property {p_name}:
		{p_value}
	to
		{value}
 format p_name prop_name p_value prop_value value value N/A prop_value value N/A N/A prop_value N/A N/A len prop_value 0 N/A N/A node hue_ini_property_tree N/A tokens N/A N/A prop_name split / N/A tokens N/A N/A name N/A N/A tokens pop N/A tokens N/A N/A token N/A N/A tokens pop 0 N/A N/A token N/A node N/A sections N/A N/A data N/A sections properties N/A N/A N/A N/A N/A node N/A sections N/A token data N/A node N/A N/A node N/A sections N/A token N/A N/A N/A node N/A properties N/A name prop_value N/A N/A N/A LOG info N/A N/A N/A _LI Created Hue ini property tree from configuration named {config_name} format config_name config_name N/A hue_ini_property_tree N/A staticmethod _merge_configurations N/A N/A cluster_spec src_config_name dst_config_name N/A N/A N/A src_config N/A N/A cluster_spec configurations N/A src_config_name N/A dst_config N/A N/A cluster_spec configurations N/A dst_config_name N/A N/A src_config None N/A N/A N/A N/A LOG warning N/A N/A N/A _LW Missing source configuration property set, aborting merge: {config_name} format config_name src_config_name N/A N/A N/A dst_config None N/A N/A N/A N/A LOG warning N/A N/A N/A _LW Missing destination configuration property set, aborting merge: {config_name} format config_name dst_config_name N/A N/A N/A property_name property_value N/A N/A six iteritems src_config N/A N/A N/A property_name dst_config N/A N/A N/A N/A dst_config N/A property_name N/A src_config N/A property_name N/A N/A N/A N/A LOG debug N/A N/A Skipping unchanged configuration property in {d_config_name} and {s_config_name}: {property_name} format d_config_name dst_config_name s_config_name src_config_name property_name property_name N/A N/A N/A N/A LOG warning N/A N/A N/A _LW Overwriting existing configuration property in {dst_config_name} from {src_config_name} for Hue: {property_name} [{dst_config} -> {src_config}] format dst_config_name dst_config_name src_config_name src_config_name property_name property_name dst_config N/A dst_config N/A property_name src_config N/A src_config N/A property_name N/A N/A N/A N/A LOG debug N/A N/A Adding Hue configuration property to {d_config} from {s_config}: {p_name} format d_config dst_config_name s_config src_config_name p_name property_name N/A N/A dst_config N/A property_name property_value N/A N/A N/A LOG info N/A N/A N/A _LI Merged configuration properties: {source} -> {destination} format source src_config_name destination dst_config_name N/A staticmethod _handle_pre_service_start N/A N/A instance cluster_spec hue_ini create_user N/A N/A N/A N/A N/A instance remote r N/A N/A N/A N/A r execute_command yum -y install hue run_as_root True N/A N/A N/A LOG info N/A _LI Installed Hue N/A N/A N/A r write_file_to /etc/hue/conf/hue.ini hue_ini True N/A N/A N/A r execute_command [ ! -f /tmp/hueini-hdfsha ] || sed -i "s/hdfs.*.:8020/hdfs:\/\/`cat /tmp/hueini-hdfsha`/g" /etc/hue/conf/hue.ini run_as_root True N/A N/A N/A r execute_command [ ! -f /tmp/hueini-hdfsha ] || sed -i "s/http.*.\/webhdfs\/v1\//http:\/\/localhost:14000\/webhdfs\/v1\//g" /etc/hue/conf/hue.ini run_as_root True N/A N/A N/A LOG info N/A _LI Setting Hue configuration N/A N/A N/A r execute_command /usr/lib/hue/build/env/bin/python /usr/lib/hue/tools/app_reg/app_reg.py --remove shell run_as_root True N/A N/A N/A LOG info N/A _LI Shell uninstalled, if it was installed N/A create_user N/A N/A N/A N/A r execute_command /usr/lib/hue/build/env/bin/hue create_sandbox_user run_as_root True N/A N/A N/A LOG info N/A _LI Initial Hue user created N/A java_home N/A N/A HueService _get_java_home cluster_spec N/A java_home N/A N/A N/A N/A r replace_remote_string /etc/hadoop/conf/hadoop-env.sh export JAVA_HOME=.* N/A export JAVA_HOME=%s java_home N/A N/A N/A r execute_command service hue start run_as_root True N/A N/A N/A r execute_command [ ! -f /tmp/hueini-hdfsha ] || service hadoop-httpfs start run_as_root True N/A N/A N/A LOG info N/A _LI Hue (re)started N/A staticmethod finalize_configuration N/A N/A self cluster_spec N/A N/A N/A N/A N/A LOG debug Inserting Hue configuration properties into core-site N/A N/A N/A self _merge_configurations cluster_spec hue-core-site core-site N/A N/A N/A LOG debug Inserting Hue configuration properties into hdfs-site N/A N/A N/A self _merge_configurations cluster_spec hue-hdfs-site hdfs-site N/A N/A N/A LOG debug Inserting Hue configuration properties into webhcat-site N/A N/A N/A self _merge_configurations cluster_spec hue-webhcat-site webhcat-site N/A N/A N/A LOG debug Inserting Hue configuration properties into oozie-site N/A N/A N/A self _merge_configurations cluster_spec hue-oozie-site oozie-site N/A register_service_urls N/A N/A self cluster_spec url_info cluster N/A N/A N/A hosts N/A N/A cluster_spec determine_component_hosts HUE N/A N/A hosts None N/A N/A host N/A N/A hosts pop N/A N/A host None N/A N/A config N/A N/A cluster_spec configurations N/A hue-ini N/A N/A config None N/A N/A port N/A N/A config get desktop/http_port N/A self default_web_ui_port N/A N/A port N/A self default_web_ui_port N/A ip N/A host management_ip N/A N/A url_info N/A N/A N/A N/A self name title N/A Web UI N/A N/A http://{0}:{1} format ip port N/A url_info N/A validate N/A N/A self cluster_spec cluster N/A N/A N/A count N/A N/A cluster_spec get_deployed_node_group_count HUE N/A N/A count 1 N/A N/A N/A N/A ex InvalidComponentCountException HUE 1 count N/A services N/A cluster_spec services N/A reqd_service N/A self required_services N/A N/A reqd_service_deployed False N/A N/A services None N/A N/A service services N/A N/A reqd_service_deployed N/A N/A service deployed N/A N/A service name reqd_service N/A reqd_service_deployed N/A N/A N/A N/A reqd_service_deployed N/A N/A N/A N/A ex RequiredServiceMissingException reqd_service N/A self name N/A finalize_ng_components N/A N/A self cluster_spec N/A N/A N/A hue_ngs N/A N/A cluster_spec get_node_groups_containing_component HUE N/A N/A hue_ngs None N/A N/A hue_ng hue_ngs N/A N/A components N/A hue_ng components N/A N/A HDFS_CLIENT components N/A N/A N/A N/A components append HDFS_CLIENT N/A N/A N/A LOG info N/A _LI HDFS client was missed from Hue node. Added it since it is required for Hue N/A N/A N/A cluster_spec get_deployed_node_group_count HIVE_SERVER N/A N/A N/A HIVE_CLIENT components N/A N/A N/A N/A components append HIVE_CLIENT N/A N/A N/A LOG info N/A _LI HIVE client was missed from Hue node. Added it since it is required for Beeswax and HCatalog N/A pre_service_start N/A N/A self cluster_spec ambari_info started_services N/A N/A N/A hue_property_tree N/A N/A HueService _create_hue_property_tree cluster_spec N/A hue_ini N/A N/A HueService _create_hue_ini_file hue_property_tree N/A create_user False N/A config N/A N/A cluster_spec configurations N/A hue-ini N/A N/A config None N/A N/A username N/A N/A config get useradmin/default_username N/A password N/A N/A config get useradmin/default_user_password N/A create_user N/A N/A username N/A password N/A hue_ngs N/A N/A cluster_spec get_node_groups_containing_component HUE N/A hue_ngs N/A N/A ng hue_ngs N/A N/A N/A ng instances N/A N/A instance N/A ng instances N/A N/A N/A N/A context set_current_instance_id N/A instance instance_id N/A N/A N/A N/A HueService _handle_pre_service_start instance cluster_spec hue_ini create_user N/A N/A