Package com.linkedin.helix.mock.storage

Examples of com.linkedin.helix.mock.storage.DummyProcess$DummyOnlineOfflineStateModelFactory


    rebalanceStorageCluster(CLUSTER_NAME, TEST_DB, 3);

    // start dummy storage nodes
    for (int i = 0; i < NODE_NR; i++)
    {
      DummyProcess process =
          new DummyProcess(null,
                           CLUSTER_NAME,
                           "localhost_" + (START_PORT + i),
                           "dynamic-file",
                           null,
                           0,
                           _fileStore);
      try
      {
        process.start();
      }
      catch (Exception e)
      {
        logger.error("fail to start dummy participant using dynmaic file-based cluster-manager",
                     e);
View Full Code Here


    final String clusterName = className + "_startInsB4Add";
    _mgmtTool.addCluster(clusterName, true);

    try
    {
      new DummyProcess(null, clusterName, instanceName, "dynamic-file", null, 0, _store).start();
      Assert.fail("Should fail since instance is not configured");
    } catch (HelixException e)
    {
      // OK
    } catch (Exception e)
View Full Code Here

TOP

Related Classes of com.linkedin.helix.mock.storage.DummyProcess$DummyOnlineOfflineStateModelFactory

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.