[ https://issues.apache.org/jira/browse/HIVE-25246?focusedWorklogId=621795&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-621795 ]
ASF GitHub Bot logged work on HIVE-25246: ----------------------------------------- Author: ASF GitHub Bot Created on: 13/Jul/21 03:02 Start Date: 13/Jul/21 03:02 Worklog Time Spent: 10m Work Description: pkumarsinha commented on a change in pull request #2396: URL: https://github.com/apache/hive/pull/2396#discussion_r668391907 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java ########## @@ -124,6 +124,13 @@ public int execute() { try { long loadTaskStartTime = System.currentTimeMillis(); SecurityUtils.reloginExpiringKeytabUser(); + //Don't proceed if target db is replication incompatible. + if (work.dbNameToLoadIn != null) { + Database targetDb = getHive().getDatabase(work.dbNameToLoadIn); + if (targetDb != null && MetaStoreUtils.isDbReplIncompatible(targetDb)) { Review comment: When would targetDb be null? When a wrong work.dbNameToLoadIn is specified ? -- 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. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 621795) Time Spent: 3h 40m (was: 3.5h) > Fix the clean up of open repl created transactions > -------------------------------------------------- > > Key: HIVE-25246 > URL: https://issues.apache.org/jira/browse/HIVE-25246 > Project: Hive > Issue Type: Improvement > Reporter: Haymant Mangla > Assignee: Haymant Mangla > Priority: Major > Labels: pull-request-available > Time Spent: 3h 40m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)