public static HiveHistory getNoOpHiveHistoryProxy() {
    return (HiveHistory)Proxy.newProxyInstance(HiveHistory.class.getClassLoader(),
        new Class<?>[] {HiveHistory.class},
        new HiveHistoryProxyHandler());
  }
Proxy handler for HiveHistory to do nothing
Used when HiveHistory is disabled.
ql/src/java/org/apache/hadoop/hive/ql/history/HiveHistoryProxyHandler.java