def getBaseUrl(self): from beaver.component.hadoop import YARN return YARN.getRMUrl()
def getBaseUrl(self): if self.proxy == 'true' and YARN.isKnoxProxySet(): return self.PROXY_URL else: return YARN.getRMUrl() + "/ui2/#/cluster-overview"