Beispiel #1
0
 def HDFS_getGateway(cls, logoutput=True):
     try:
         from beaver.component.hadoop import HDFS
         return HDFS.getGateway()
     except Exception:
         if logoutput:
             logger.error("Exception occured during HDFS_getGateway() call")
             logger.error(traceback.format_exc())
         return None
Beispiel #2
0
 def downgrade_client(cls, version, node, config=None):
     '''
     Downgrade client services :
     :param version: Version to be downgraded to
     :param node: Slave Node
     :param config: Config location
     :return:
     '''
     from beaver.component.rollingupgrade.ruCommon import hdpSelect
     hdpSelect.changeVersion("slider-client", version, HDFS.getGateway())