public static Pair<ZooKeeperServerShim,Integer> runZookeeperOnAnyPort(File zkDir) throws Exception {
  return runZookeeperOnAnyPort((int)(Math.random() * 10000 + 7000),zkDir);
}

public static Pair < ZooKeeperServerShim , Integer > runZookeeperOnAnyPort ( File zkDir ) throws Exception { return runZookeeperOnAnyPort ( ( int ) ( Math . random ( ) * 10000 + 7000 ) , zkDir ) ; }
try to start zookkeeper locally on any port .
