public static boolean shouldDumpExternalTableLocation(HiveConf conf) {
    return conf.getBoolVar(HiveConf.ConfVars.REPL_INCLUDE_EXTERNAL_TABLES)
            && (!conf.getBoolVar(REPL_DUMP_METADATA_ONLY) &&
            !conf.getBoolVar(HiveConf.ConfVars.REPL_DUMP_METADATA_ONLY_FOR_EXTERNAL_TABLE));
  }
Decide whether to dump external tables data. If external tables are enabled for replication,
then need to dump it's data in all the incremental dumps.
@param conf Hive Configuration.
@return true if need to dump external table data and false if not.
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java