diff --git common/src/java/org/apache/hadoop/hive/conf/HiveConf.java common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index fe4eb9f..ded84b3 100644 --- common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -1507,6 +1507,10 @@ public void setSparkConfigUpdated(boolean isSparkConfigUpdated) { HIVE_COMPACTOR_CLEANER_RUN_INTERVAL("hive.compactor.cleaner.run.interval", "5000ms", new TimeValidator(TimeUnit.MILLISECONDS), "Time between runs of the cleaner thread"), + HIVE_TIMEDOUT_TXN_REAPER_START("hive.timedout.txn.reaper.start", "100s", + new TimeValidator(TimeUnit.MILLISECONDS), "Time delay of 1st reaper run after metastore start"), + HIVE_TIMEDOUT_TXN_REAPER_INTERVAL("hive.timedout.txn.reaper.interval", "180s", + new TimeValidator(TimeUnit.MILLISECONDS), "Time interval describing how often the reaper runs"), // For HBase storage handler HIVE_HBASE_WAL_ENABLED("hive.hbase.wal.enabled", true, diff --git hcatalog/src/test/e2e/templeton/deployers/config/hive/hive-site.mysql.xml hcatalog/src/test/e2e/templeton/deployers/config/hive/hive-site.mysql.xml index 70ccc31..5adf035 100644 --- hcatalog/src/test/e2e/templeton/deployers/config/hive/hive-site.mysql.xml +++ hcatalog/src/test/e2e/templeton/deployers/config/hive/hive-site.mysql.xml @@ -62,6 +62,28 @@ hive.exec.dynamic.partition.mode nonstrict + + hive.compactor.initiator.on + false + + + hive.compactor.worker.threads + 2 + + + hive.timedout.txn.reaper.start + 2s + + + + hive.timedout.txn.reaper.interval + 30s + +