public boolean isWebUiQueryInfoCacheEnabled() {
    return isWebUiEnabled() && this.getIntVar(ConfVars.HIVE_SERVER2_WEBUI_MAX_HISTORIC_QUERIES) > 0;
  }
@return true if HS2 webui query-info cache is enabled
common/src/java/org/apache/hadoop/hive/conf/HiveConf.java