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

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

src/s/a/sahara-2014.1/sahara/plugins/vanilla/v2_3_0/scaling.py   sahara(Download)
def scale_cluster(cluster, instances):
    config.configure_instances(instances)
    _update_include_files(cluster)
    run.refresh_hadoop_nodes(cluster)
    run.refresh_yarn_nodes(cluster)

src/s/a/sahara-HEAD/sahara/plugins/vanilla/v2_3_0/scaling.py   sahara(Download)
def scale_cluster(cluster, instances):
    config.configure_instances(instances)
    _update_include_files(cluster)
    run.refresh_hadoop_nodes(cluster)
    run.refresh_yarn_nodes(cluster)