#NEWLINE# def register_service_urls( self , cluster_spec , url_info , cluster ) : #NEWLINE# #INDENT# oozie_ip = cluster_spec . determine_component_hosts ( 'OOZIE_SERVER' ) . pop ( ) . management_ip #NEWLINE# port = self . _get_port_from_cluster_spec ( cluster_spec , 'oozie-site' , 'oozie.base.url' ) #NEWLINE# url_info [ 'JobFlow' ] = { #NEWLINE# #INDENT# 'Oozie' : ( 'http://%s:%s' % ( oozie_ip , port ) ) , #NEWLINE# #UNINDENT# } #NEWLINE# return url_info