@Override
  public String toString() {
    return "AppMasterClient for uri: " + appMasterHost.toURI().toString();
  }
@return  the config as a map of key to value
@throws IOException if there was an error fetching the config from the servlet.
samza-yarn3/src/main/java/org/apache/samza/webapp/ApplicationMasterRestClient.java