Ejemplo n.º 1
0
 public DummyZKFCThread(MiniZKFCCluster _enclosing, MultithreadedTestUtil.TestContext
                        ctx, DummyHAService svc)
     : base(ctx)
 {
     this._enclosing = _enclosing;
     this.zkfc       = new MiniZKFCCluster.DummyZKFC(this._enclosing.conf, svc);
 }
Ejemplo n.º 2
0
 public virtual void SetupConfAndServices()
 {
     conf = new Configuration();
     conf.Set(ZKFailoverController.ZkAclKey, TestAcl);
     conf.Set(ZKFailoverController.ZkAuthKey, TestAuthGood);
     conf.Set(ZKFailoverController.ZkQuorumKey, hostPort);
     this.cluster = new MiniZKFCCluster(conf, GetServer(serverFactory));
 }