Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.0, 4.0.0
Description
use a hive config property to allow external table replication. set this property by default to prevent external table replication.
for metadata only hive repl always export metadata for external tables.
REPL_DUMP_EXTERNAL_TABLES("hive.repl.dump.include.external.tables", false,
"Indicates if repl dump should include information about external tables. It should be \n"
+ "used in conjunction with 'hive.repl.dump.metadata.only' set to false. if 'hive.repl.dump.metadata.only' \n"
+ " is set to true then this config parameter has no effect as external table meta data is flushed \n"
+ " always by default.")
This should be done for only replication dump and not for export