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/intel/v2_5_1/installer.py   sahara(Download)
 
    if to_scale_dn:
        client.services.hdfs.add_nodes('DataNode', to_scale_dn)
 
    client.nodes.config()

src/s/a/sahara-2014.1/sahara/tests/unit/plugins/intel/v2_5_1/test_client.py   sahara(Download)
        # add_nodes
        post.return_value = r.make_resp()
        client.services.hdfs.add_nodes('DataNode', ['n1', 'n2'])
        client.services.mapred.add_nodes('NameNode', ['n1', 'n2'])