Package net.sf.katta.protocol.upgrade.UpgradeAction05_06

Examples of net.sf.katta.protocol.upgrade.UpgradeAction05_06.WriteableZkSerializer


public class UpgradeAction05_06Test extends AbstractZkTest {

  @Test
  @SuppressWarnings("deprecation")
  public void testPreserveIndices() throws Exception {
    ZkClient zkClientForWriables = new ZkClient(_zk.getZkConf().getZKServers(), 5000, 5000, new WriteableZkSerializer(
            net.sf.katta.index.IndexMetaData.class));
    String indexName = "index1";
    net.sf.katta.index.IndexMetaData oldIndexMD = new net.sf.katta.index.IndexMetaData("indexPath", "analyzer", 2,
            net.sf.katta.index.IndexMetaData.IndexState.DEPLOYED);
    String oldIndicesPath = UpgradeAction05_06.getOldIndicesPath(_zk.getZkConf());
View Full Code Here

TOP

Related Classes of net.sf.katta.protocol.upgrade.UpgradeAction05_06.WriteableZkSerializer

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.