@Test
  public void testParseUrlHttpMode() throws SQLException, JdbcUriParseException,
      ZooKeeperHiveClientException {
    new HiveDriver();
    for (String[] testValues : HTTP_URL_PROPERTIES) {
      JdbcConnectionParams params = Utils.parseURL(testValues[0], new Properties());
      assertEquals(params.getHost(), testValues[1]);
      assertEquals(params.getPort(), Integer.parseInt(testValues[2]));
      assertEquals(params.getDbName(), testValues[3]);
      assertEquals(params.getSessionVars().get("transportMode"), testValues[4]);
      assertEquals(params.getSessionVars().get("httpPath"), testValues[5]);
    }
  }
Validate the Metadata for the result set of a metadata getColumns call.
itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java