[ https://issues.apache.org/jira/browse/HIVE-17757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sankar Hariappan updated HIVE-17757: ------------------------------------ Attachment: HIVE-17757.01.patch Added 01.patch with support for WITH clause in REPL LOAD to get the configurations to be used for ReplCopyTask and copy repl dump dir. Request [~thejas]/[~anishek] to please review the same. > REPL LOAD should use customised configurations to execute distcp/remote copy. > ----------------------------------------------------------------------------- > > Key: HIVE-17757 > URL: https://issues.apache.org/jira/browse/HIVE-17757 > Project: Hive > Issue Type: Sub-task > Components: HiveServer2, repl > Affects Versions: 3.0.0 > Reporter: Sankar Hariappan > Assignee: Sankar Hariappan > Labels: DR, replication > Fix For: 3.0.0 > > Attachments: HIVE-17757.01.patch > > > As REPL LOAD command needs to read repl dump directory and data files from > source cluster, it needs to use some of the configurations to read data > securely through distcp. > Some of the HDFS configurations cannot be added to whitelist as they pose > security threat. So, it is necessary for REPL LOAD command to take such > configs as input and use it when trigger distcp. > *Proposed syntax:* > REPL LOAD [<dbname>.<tablename>] FROM <dirname> [WITH ('key1'='value1', > 'key2'='value2')]; -- This message was sent by Atlassian JIRA (v6.4.14#64029)