示例#1
0
 def __init__(self, user):
   self.user = user
   self.resource_manager_api = resource_manager_api.get_resource_manager()
   self.mapreduce_api = mapreduce_api.get_mapreduce_api()
   self.node_manager_api = node_manager_api.get_resource_manager_api()
   self.history_server_api = history_server_api.get_history_server_api()
示例#2
0
文件: api.py 项目: 9629831527/hue
 def get_tracker(self, node_manager_http_address, container_id):
   api = node_manager_api.get_resource_manager_api('http://' + node_manager_http_address)
   return Container(api.container(container_id))
示例#3
0
 def get_tracker(self, node_manager_http_address, container_id):
     api = node_manager_api.get_resource_manager_api(
         'http://' + node_manager_http_address)
     return Container(api.container(container_id))
示例#4
0
文件: api.py 项目: yhanwen/hue
 def __init__(self, user):
     self.user = user
     self.resource_manager_api = resource_manager_api.get_resource_manager()
     self.mapreduce_api = mapreduce_api.get_mapreduce_api()
     self.node_manager_api = node_manager_api.get_resource_manager_api()
     self.history_server_api = history_server_api.get_history_server_api()