public boolean allowReplacementInto(Map<String, String> params){
    return allowReplacement(getLastReplicatedStateFromParameters(params),
                            getCurrentReplicationState());
  }
Determines if a current replication object (current state of dump) is allowed to
replicate-replace-into a given metastore object (based on state_id stored in their parameters)
ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSpec.java