public static String encodeColumnNames(List<String> colNames) throws SemanticException {
    try {
      return JSON_MAPPER.writeValueAsString(colNames);
    } catch (IOException e) {
      throw new SemanticException(e);
    }
  }
Load password from the given uri.
@param uriString The URI which is used to load the password.
@return null if the uri is empty or null, else the password represented by the URI.
@throws IOException
@throws URISyntaxException
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java