@Override
  public void onCreateTable(CreateTableEvent createTableEvent) {
    String dbName = createTableEvent.getTable().getDbName();
    String tblName = createTableEvent.getTable().getTableName();
    if (createTableEvent.isReplicated()) {
      addNameToEventMap(replicatedDbsForEvents, dbName, createTableEvent);
      addNameToEventMap(replicatedTablesForEvents, tblName, createTableEvent);
    } else {
      addNameToEventMap(nonReplicatedDbsForEvents, dbName, createTableEvent);
    }
  }
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