HIVE-2215 adds the ability to add events in metastore. These events needs to be purged as they have limited life.