private void updateReplSourceFor(Hive hiveDb, String dbName, Database db, String value) throws HiveException {
    Map<String, String> params = db.getParameters();
    if (params != null) {
      params.put(SOURCE_OF_REPLICATION, value);
    } else {
      db.setParameters(Collections.singletonMap(SOURCE_OF_REPLICATION, value));
    }
    hiveDb.alterDatabase(dbName, db);
  }
Decide whether to dump ACID tables.
@param tableName - Name of ACID table to be replicated
@return true if need to bootstrap dump ACID table and false if not.
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java