private void resetConfToDefaults() {
    conf.setBoolVar(HiveConf.ConfVars.HIVE_SERVER2_WEBUI_EXPLAIN_OUTPUT, false);
    conf.setBoolVar(HiveConf.ConfVars.HIVE_SERVER2_WEBUI_SHOW_GRAPH, false);
    conf.setBoolVar(HiveConf.ConfVars.HIVE_SERVER2_WEBUI_SHOW_STATS, false);
    conf.setIntVar(HiveConf.ConfVars.HIVE_SERVER2_WEBUI_MAX_GRAPH_SIZE, 25);
  }
Test for the HiveConf option HIVE_SERVER2_WEBUI_SHOW_STATS, which is available for Tez
jobs only.
itests/hive-unit/src/test/java/org/apache/hive/service/cli/session/TestQueryDisplay.java