public static Set<String> getSchedules() {
    return knownSchedules;
  }
This hook helps to do some cleanup after tests are creating scheduled queries.
ql/src/test/org/apache/hadoop/hive/ql/hooks/ScheduledQueryCreationRegistryHook.java