@Override
  public Optional<MasterObserver> getMasterObserver() {
    return Optional.of(this);
  }
A bad Master Observer to prevent user to create/delete table once.
hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/BadMasterObserverForCreateDeleteTable.java