Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/s/a/sahara-2014.1/sahara/plugins/vanilla/v1_2_1/config_helper.py   sahara(Download)
def get_port_from_config(service, name, cluster=None):
    address = get_config_value(service, name, cluster)
    return utils.get_port_from_address(address)
 

src/s/a/sahara-2014.1/sahara/plugins/hdp/versions/version_2_0_6/services.py   sahara(Download)
    def _get_port_from_cluster_spec(self, cluster_spec, service, prop_name):
        address = cluster_spec.configurations[service][prop_name]
        return utils.get_port_from_address(address)
 
 

src/s/a/sahara-2014.1/sahara/plugins/hdp/versions/version_1_3_2/services.py   sahara(Download)
    def _get_port_from_cluster_spec(self, cluster_spec, service, prop_name):
        address = cluster_spec.configurations[service][prop_name]
        return utils.get_port_from_address(address)
 
 

src/s/a/sahara-HEAD/sahara/plugins/hdp/versions/version_2_0_6/services.py   sahara(Download)
    def _get_port_from_cluster_spec(self, cluster_spec, service, prop_name):
        address = cluster_spec.configurations[service][prop_name]
        return utils.get_port_from_address(address)
 
 

src/s/a/sahara-HEAD/sahara/plugins/hdp/versions/version_1_3_2/services.py   sahara(Download)
    def _get_port_from_cluster_spec(self, cluster_spec, service, prop_name):
        address = cluster_spec.configurations[service][prop_name]
        return utils.get_port_from_address(address)
 
 

src/s/a/sahara-HEAD/sahara/plugins/vanilla/v1_2_1/config_helper.py   sahara(Download)
def get_port_from_config(service, name, cluster=None):
    address = get_config_value(service, name, cluster)
    return utils.get_port_from_address(address)