[ https://issues.apache.org/jira/browse/HIVE-21884?focusedWorklogId=329421&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-329421 ]
ASF GitHub Bot logged work on HIVE-21884: ----------------------------------------- Author: ASF GitHub Bot Created on: 16/Oct/19 21:11 Start Date: 16/Oct/19 21:11 Worklog Time Spent: 10m Work Description: kgyrtkirk commented on pull request #794: HIVE-21884 URL: https://github.com/apache/hive/pull/794#discussion_r335704414 ########## File path: standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java ########## @@ -667,6 +667,19 @@ public static ConfVars getMetaConf(String name) { RUNTIME_STATS_MAX_AGE("runtime.stats.max.age", "hive.metastore.runtime.stats.max.age", 86400 * 3, TimeUnit.SECONDS, "Stat entries which are older than this are removed."), + SCHEDULED_QUERIES_CRON_SYNTAX("scheduled.queries.cron.syntax", "hive.metastore.scheduled.queries.cron.syntax", + "QUARTZ", new StringSetValidator("UNIX", "QUARTZ", "CRON4J", "SPRING"), + "Defines the format of the schedule expressions to be used in scheduled queries."), + SCHEDULED_QUERIES_EXECUTION_PROGRESS_TIMEOUT("scheduled.queries.execution.timeout", + "hive.metastore.scheduled.queries.progress.timeout", 120, TimeUnit.SECONDS, + "If a scheduled query is not making progress for this amount of time it will be considered TIMED_OUT"), + SCHEDULED_QUERIES_EXECUTION_MAINT_TASK_FREQUENCY("scheduled.queries.execution.maint.task.frequency", + "hive.metastore.scheduled.queries.execution.clean.frequency", 60, TimeUnit.SECONDS, + "Interval of scheduled query maintenance task. Which removes executions above max age; and marks executions as timed out if the condition is met"), + SCHEDULED_QUERIES_EXECUTION_MAX_AGE("scheduled.queries.execution.max.age", + "hive.metastore.scheduled.queries.execution.max.age", 3 * 86400, TimeUnit.SECONDS, Review comment: right now I dont really want to get into complicating the removal logic - and as you say; it might be not that many... I've set it to 30 days ---------------------------------------------------------------- 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: 329421) Time Spent: 4h 20m (was: 4h 10m) > Scheduled query support > ----------------------- > > Key: HIVE-21884 > URL: https://issues.apache.org/jira/browse/HIVE-21884 > Project: Hive > Issue Type: Improvement > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Priority: Major > Labels: pull-request-available > Attachments: HIVE-21844.04.patch, HIVE-21844.05.patch, > HIVE-21844.06.patch, HIVE-21844.07.patch, HIVE-21844.08.patch, > HIVE-21844.09.patch, HIVE-21844.15.patch, HIVE-21844.19.patch, > HIVE-21884.01.patch, HIVE-21884.02.patch, HIVE-21884.03.patch, > HIVE-21884.09.patch, HIVE-21884.10.patch, HIVE-21884.10.patch, > HIVE-21884.11.patch, HIVE-21884.12.patch, HIVE-21884.13.patch, > HIVE-21884.14.patch, HIVE-21884.14.patch, HIVE-21884.14.patch, > HIVE-21884.16.patch, HIVE-21884.17.patch, HIVE-21884.18.patch, > HIVE-21884.20.patch, Scheduled queries2.pdf > > Time Spent: 4h 20m > Remaining Estimate: 0h > > design document: > https://docs.google.com/document/d/1mJSFdJi_1cbxJTXC9QvGw2rQ3zzJkNfxOO6b5esmyCE/edit# > in case the google doc is not reachable: [^Scheduled queries2.pdf] -- This message was sent by Atlassian Jira (v8.3.4#803005)