[ 
https://issues.apache.org/jira/browse/HIVE-28405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Smruti Biswal updated HIVE-28405:
---------------------------------
    Description: 
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.

  was:
In HiveConf.java the default time unit for hive.repl.cm.retain is DAYS.

But inĀ 

One could very easily get confused and set the value in DAYs under metastore 
configuration. It will be good idea to keep the units in sync.


> Add validator to parse the time unit set in Metastore hive.repl.cm.retain
> -------------------------------------------------------------------------
>
>                 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)

Reply via email to