@Test
  public void testParseZkMultiple() throws Exception {
    ConnectionRegistryFactory
      .create(new URI("hbase+zk://server1:123,server2:456,server3:789/root/path"), conf, user);
    assertEquals(1, mockedZkRegistry.constructed().size());
    assertSame(user, args.get(1));
    Configuration conf = (Configuration) args.get(0);
    assertEquals("server1:123,server2:456,server3:789",
      conf.get(HConstants.CLIENT_ZOOKEEPER_QUORUM));
    assertEquals("/root/path", conf.get(HConstants.ZOOKEEPER_ZNODE_PARENT));
  }
Make sure we can successfully parse the URI component
hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestConnectionRegistryUriParsing.java