kasakrisz commented on code in PR #5807: URL: https://github.com/apache/hive/pull/5807#discussion_r2084086769
########## ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/StatsUpdater.java: ########## @@ -86,15 +87,34 @@ public void gatherStats(CompactionInfo ci, HiveConf hiveConf, } else { sb.append(" noscan"); } - LOG.info(ci + ": running '" + sb + "'"); - if (compactionQueueName != null && compactionQueueName.length() > 0) { - conf.set(TezConfiguration.TEZ_QUEUE_NAME, compactionQueueName); - } + + LOG.info("{}: running '{}'", ci, sb); SessionState sessionState = DriverUtils.setUpAndStartSessionState(conf, userName); DriverUtils.runOnDriver(conf, sessionState, sb.toString()); } catch (Throwable t) { - LOG.error(ci + ": gatherStats(" + ci.dbname + "," + ci.tableName + "," + ci.partName + - ") failed due to: " + t.getMessage(), t); + LOG.error("{}: gatherStats({},{},{}) failed due to: {}", + ci, ci.dbname, ci.tableName, ci.partName, t.getMessage(), t); } } + + HiveConf createConfiguration( Review Comment: Renamed -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org