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))
def get_tracker(self, container_id): return Container(self.node_manager_api.container(container_id))