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

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

src/s/a/sahara-2014.1/sahara/plugins/intel/v3_0_2/installer.py   sahara(Download)
        cluster) else None
    dn_hosts = [dn.fqdn() for dn in u.get_datanodes(cluster)]
    nm_hosts = [tt.fqdn() for tt in u.get_nodemanagers(cluster)]
 
    oozie_host = u.get_oozie(cluster).fqdn() if u.get_oozie(
def scale_cluster(cluster, instances):
    scale_ins_hosts = [i.fqdn() for i in instances]
    dn_hosts = [dn.fqdn() for dn in u.get_datanodes(cluster)]
    nm_hosts = [nm.fqdn() for nm in u.get_nodemanagers(cluster)]
    to_scale_dn = []
def decommission_nodes(cluster, instances):
    dec_hosts = [i.fqdn() for i in instances]
    dn_hosts = [dn.fqdn() for dn in u.get_datanodes(cluster)]
    nm_hosts = [nm.fqdn() for nm in u.get_nodemanagers(cluster)]
 

src/s/a/sahara-2014.1/sahara/plugins/vanilla/v2_3_0/versionhandler.py   sahara(Download)
        run.await_datanodes(cluster)
 
        for nm in utils.get_nodemanagers(cluster):
            run.start_yarn_process(nm, 'nodemanager')
 

src/s/a/sahara-2014.1/sahara/plugins/vanilla/v2_3_0/scaling.py   sahara(Download)
def _update_include_files(cluster):
    instances = u.get_instances(cluster)
 
    datanodes = u.get_datanodes(cluster)
    nodemanagers = u.get_nodemanagers(cluster)