diff --git a/beeline/src/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java b/beeline/src/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java index 4c55104da3..0b56372305 100644 --- a/beeline/src/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java +++ b/beeline/src/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java @@ -91,7 +91,7 @@ public Properties getConnectionProperties() throws BeelineSiteParseException { String key = kv.getKey(); if (key.startsWith(BEELINE_CONNECTION_NAMED_JDBC_URL_PREFIX)) { props.setProperty(key.substring(BEELINE_CONNECTION_NAMED_JDBC_URL_PREFIX.length()), - kv.getValue()); + conf.get(key)); } } } catch (Exception e) { @@ -117,7 +117,7 @@ public Properties getConnectionProperties(String propertyValue) throws BeelineSi if (key.startsWith(BEELINE_CONNECTION_NAMED_JDBC_URL_PREFIX) && (propertyValue.equalsIgnoreCase(kv.getValue()))) { props.setProperty(key.substring(BEELINE_CONNECTION_NAMED_JDBC_URL_PREFIX.length()), - kv.getValue()); + conf.get(key)); } } } catch (Exception e) {