private String getSessionValue(String varName, String varDefault) {
    String varValue = sessConfMap.get(varName);
    if ((varValue == null) || varValue.isEmpty()) {
      varValue = varDefault;
    }
    return varValue;
  }
Lookup varName in sessConfMap, if its null or empty return the default
value varDefault
@param varName
@param varDefault
@return
jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java