MetaDataAdmin.createTableIfNotExists(TABLE_NAME);
this.database = database;
table = new HTable(HBaseUtils.getConfiguration(), TABLE_NAME);
watcher = new ZooKeeperWatcher(HBaseUtils.getConfiguration(), "DDLRedoTable", ZooKeeperAdmin.newAbortable());
tracker = new DDLRedoTableTracker(watcher, this);
//master不需要监听redo_table的变化,因为redo_table的更新只能从master发起
if (!database.isMaster())
tracker.start();
}