[ https://issues.apache.org/jira/browse/HIVE-23499?focusedWorklogId=444886&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-444886 ]
ASF GitHub Bot logged work on HIVE-23499: ----------------------------------------- Author: ASF GitHub Bot Created on: 12/Jun/20 13:51 Start Date: 12/Jun/20 13:51 Worklog Time Spent: 10m Work Description: rbalamohan commented on a change in pull request #1092: URL: https://github.com/apache/hive/pull/1092#discussion_r439430497 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java ########## @@ -309,7 +310,9 @@ a database ( directory ) // Populate the driver context with the scratch dir info from the repl context, so that the // temp dirs will be cleaned up later context.getFsScratchDirs().putAll(loadContext.pathInfo.getFsScratchDirs()); - createReplLoadCompleteAckTask(); + if (!HiveConf.getBoolVar(conf, REPL_DUMP_SKIP_IMMUTABLE_DATA_COPY)) { Review comment: Added in the test case in recent commit. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 444886) Time Spent: 40m (was: 0.5h) > REPL: Immutable repl dumps should be reusable across multiple repl loads > ------------------------------------------------------------------------ > > Key: HIVE-23499 > URL: https://issues.apache.org/jira/browse/HIVE-23499 > Project: Hive > Issue Type: Improvement > Reporter: Rajesh Balamohan > Assignee: Rajesh Balamohan > Priority: Major > Labels: pull-request-available > Attachments: HIVE-23499.1.patch, HIVE-23499.2.patch > > Time Spent: 40m > Remaining Estimate: 0h > > "{{hive.repl.dump.metadata.only=true"}} is not currently honored during > "{{repl load"}}. Currently, it ends up copying all files even if this option > is specified in "repl load". E.g > {noformat} > repl load airline_ontime_orc into another_airline_ontime_orc with > ('hive.repl.rootdir'='s3a://blah/', 'hive.repl.dump.metadata.only'='true'); > {noformat} > Alternatively, we can use {{hive.repl.dump.skip.immutable.data.copy}} and > skip the load ack file. This would enable users to reuse immutable repl > dumps. -- This message was sent by Atlassian Jira (v8.3.4#803005)