Package net.sf.katta.integrationTest.support

Examples of net.sf.katta.integrationTest.support.KattaMiniCluster


    ZkConfiguration conf2 = new ZkConfiguration();
    conf1.setZKRootPath("MultiClusterTest/pool1");
    conf2.setZKRootPath("MultiClusterTest/pool2");

    _zkServer = ZkKattaUtil.startZkServer(new ZkConfiguration());
    _cluster1 = new KattaMiniCluster(SleepServer.class, conf1, POOL_SIZE_1, 30000);
    _cluster2 = new KattaMiniCluster(SleepServer.class, conf2, POOL_SIZE_2, 40000);
    _cluster1.setZkServer(_zkServer);
    _cluster2.setZkServer(_zkServer);
    _cluster1.start();
    _cluster2.start();
View Full Code Here


    cleanup(conf1);
    cleanup(conf2);
    FileUtil.deleteFolder(new NodeConfiguration().getShardFolder());

    _zkServer = ZkKattaUtil.startZkServer(new ZkConfiguration());
    _luceneCluster = new KattaMiniCluster(LuceneServer.class, conf1, NODE_COUNT_LUCENE, 30000);
    _loadtestCluster = new KattaMiniCluster(SleepServer.class, conf2, NODE_COUNT_LOADTEST, 40000);
    _luceneCluster.setZkServer(_zkServer);
    _loadtestCluster.setZkServer(_zkServer);
    _luceneCluster.start();
    _loadtestCluster.start();
View Full Code Here

TOP

Related Classes of net.sf.katta.integrationTest.support.KattaMiniCluster

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.