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