Module Import alias ImportFrom alias identifier FunctionDef arguments args NameParam defaults body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Index Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Index Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A re sahara.plugins.vanilla utils u get_datanodes_status N/A N/A cluster N/A N/A N/A statuses N/A N/A namenode N/A N/A u get_namenode cluster N/A status_regexp ^Hostname: (.*)\nDecommission Status : (.*)$ N/A matcher N/A N/A re compile status_regexp N/A re MULTILINE N/A dfs_report N/A N/A N/A N/A N/A namenode remote execute_command sudo su - -c "hdfs dfsadmin -report" hadoop N/A 1 N/A N/A host status N/A N/A matcher findall dfs_report N/A N/A N/A statuses N/A host N/A N/A status lower N/A statuses N/A get_nodemanagers_status N/A N/A cluster N/A N/A N/A statuses N/A N/A resourcemanager N/A N/A u get_resourcemanager cluster N/A status_regexp ^(\S+):\d+\s+(\w+) N/A matcher N/A N/A re compile status_regexp N/A re MULTILINE N/A yarn_report N/A N/A N/A N/A N/A resourcemanager remote execute_command sudo su - -c "yarn node -all -list" hadoop N/A 1 N/A N/A host status N/A N/A matcher findall yarn_report N/A N/A N/A statuses N/A host N/A N/A status lower N/A statuses N/A