@Override
  public void onDropTable(DropTableEvent dropTableEvent) {
    String dbName = dropTableEvent.getTable().getDbName();
    String tblName = dropTableEvent.getTable().getTableName();
    if (dropTableEvent.isReplicated()) {
      addNameToEventMap(replicatedDbsForEvents, dbName, dropTableEvent);
      addNameToEventMap(replicatedTablesForEvents, tblName, dropTableEvent);
    } else {
      addNameToEventMap(nonReplicatedDbsForEvents, dbName, dropTableEvent);
    }

  }
ReplMetaStoreEventListenerTestImpl - Implementation of MetaStoreEventListener to test
isReplicated flag in some of the tests.
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/ReplMetaStoreEventListenerTestImpl.java