[
https://issues.apache.org/jira/browse/HIVE-28405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Smruti Biswal updated HIVE-28405:
---------------------------------
Summary: metastore.repl.cm.retain and HiveConf.REPL_CM_RETAIN interpret
unit-less values with different time units (was: metastore.repl.cm.retain and
hive.repl.cm.retain interpret unit-less values with different time units)
> metastore.repl.cm.retain and HiveConf.REPL_CM_RETAIN interpret unit-less
> values with different time units
> ---------------------------------------------------------------------------------------------------------
>
> Key: HIVE-28405
> URL: https://issues.apache.org/jira/browse/HIVE-28405
> Project: Hive
> Issue Type: Task
> Components: Standalone Metastore
> Reporter: Smruti Biswal
> Assignee: Smruti Biswal
> Priority: Minor
> Labels: pull-request-available
>
> In HiveConf.java the default time unit for hive.repl.cm.retain is DAYS.
> But in metastoreConf the default unit is HOUR. If one sets '10' in both, the
> actual values are going to be different.
> In this jira, I add a validator to parse values such as '10d' which will be
> interpreted correctly in both.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)