Gateway gateway = new Gateway(GATEWAY_PORT, _zk.getServerPort());
gateway.start();
final ZkClient zkGatewayClient = ZkKattaUtil.startZkClient(gatewayConf, 30000);
InteractionProtocol gatewayProtocol = new InteractionProtocol(zkGatewayClient, gatewayConf);
FileUtil.deleteFolder(new NodeConfiguration().getShardFolder());
final Node node = new Node(gatewayProtocol, new LuceneServer());
node.start();
// check node-master link
master.start();
TestUtil.waitUntilLeaveSafeMode(master);