public void init() throws IOException {
    if (!slowlogTableEnabled) {
      LOG.info("Slow/Large requests logging to system table hbase:slowlog is disabled. Quitting.");
      return;
    }
    if (!masterServices.getTableDescriptors().exists(SlowLogTableAccessor.SLOW_LOG_TABLE_NAME)) {
      LOG.info("slowlog table not found. Creating.");
      this.masterServices.createSystemTable(TABLE_DESCRIPTOR_BUILDER.build());
    }
  }
Slowlog Master services - Table creation to be used by HMaster
hbase-server/src/main/java/org/apache/hadoop/hbase/master/slowlog/SlowLogMasterService.java