deniskuzZ commented on a change in pull request #1724: URL: https://github.com/apache/hive/pull/1724#discussion_r553294973
########## File path: ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java ########## @@ -774,6 +780,100 @@ private void checkFileFormats(Hive db, LoadTableDesc tbd, Table table) } } + class LocalTableLock implements Closeable{ + + private Optional<HiveLockObject> lock; + private HiveLock lockObj; + + public LocalTableLock(Optional<HiveLockObject> lock) throws LockException { + + this.lock = lock; + if(!lock.isPresent()) { + return; + } + LOG.info("LocalTableLock; locking: " + lock); Review comment: should we lower log level to debug here to avoid extensive logging. ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org