private void printBeelineSiteUrls() {
    BeelineSiteParser beelineSiteParser = getUserBeelineSiteParser();
    if (!beelineSiteParser.configExists()) {
      output("No beeline-site.xml in the path", true);
    }
    if (beelineSiteParser.configExists()) {
      // Get the named url from user specific config file if present
      try {
        Properties userNamedConnectionURLs = beelineSiteParser.getConnectionProperties();
        userNamedConnectionURLs.remove(BeelineSiteParser.DEFAULT_NAMED_JDBC_URL_PROPERTY_KEY);
        StringBuilder sb = new StringBuilder("urls: ");
        for (Entry<Object, Object> entry : userNamedConnectionURLs.entrySet()) {
          String urlFromBeelineSite = (String) entry.getValue();
          if (isZkBasedUrl(urlFromBeelineSite)) {
            List<String> jdbcUrls = HiveConnection.getAllUrlStrings(urlFromBeelineSite);
            for (String jdbcUrl : jdbcUrls) {
              sb.append(jdbcUrl + ", ");
            }
          } else {
            sb.append(urlFromBeelineSite + ", ");
          }
        }
        output(sb.toString(), true);
      } catch (Exception e) {
        output(e.getMessage(), true);
        return;
      }
    }
  }
Entry point to creating a {@link ColorBuffer} with color
enabled or disabled depending on the value of {@link BeeLineOpts#getColor}.
beeline/src/java/org/apache/hive/beeline/BeeLine.java