[ https://issues.apache.org/jira/browse/HIVE-24718?focusedWorklogId=557663&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-557663 ]
ASF GitHub Bot logged work on HIVE-24718: ----------------------------------------- Author: ASF GitHub Bot Created on: 25/Feb/21 01:46 Start Date: 25/Feb/21 01:46 Worklog Time Spent: 10m Work Description: ArkoSharma commented on a change in pull request #1936: URL: https://github.com/apache/hive/pull/1936#discussion_r582431043 ########## File path: itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcrossInstances.java ########## @@ -2225,17 +2224,11 @@ private void setupUDFJarOnHDFS(Path identityUdfLocalPath, Path identityUdfHdfsPa /* * Method used from TestReplicationScenariosExclusiveReplica */ - private void assertExternalFileInfo(List<String> expected, String dumplocation, boolean isIncremental, + private void assertExternalFileList(List<String> expected, String dumplocation, WarehouseInstance warehouseInstance) throws IOException { Path hivePath = new Path(dumplocation, ReplUtils.REPL_HIVE_BASE_DIR); - Path metadataPath = new Path(hivePath, EximUtil.METADATA_PATH_NAME); - Path externalTableInfoFile; - if (isIncremental) { - externalTableInfoFile = new Path(hivePath, FILE_NAME); - } else { - externalTableInfoFile = new Path(metadataPath, primaryDbName.toLowerCase() + File.separator + FILE_NAME); - } - ReplicationTestUtils.assertExternalFileInfo(warehouseInstance, expected, externalTableInfoFile); + Path externalTblFileList = new Path(hivePath, EximUtil.FILE_LIST_EXTERNAL); Review comment: Removing would cause code-duplication in most places, except in TestReplicationScenariosExternalTablesMetaDataOnly.java . Refactored the code there. ---------------------------------------------------------------- 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: 557663) Time Spent: 4h 20m (was: 4h 10m) > Moving to file based iteration for copying data > ----------------------------------------------- > > Key: HIVE-24718 > URL: https://issues.apache.org/jira/browse/HIVE-24718 > Project: Hive > Issue Type: Bug > Reporter: Arko Sharma > Assignee: Arko Sharma > Priority: Major > Labels: pull-request-available > Attachments: HIVE-24718.01.patch, HIVE-24718.02.patch, > HIVE-24718.04.patch > > Time Spent: 4h 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)