You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Bimalendu Choudhary (Jira)" <ji...@apache.org> on 2021/04/23 02:49:00 UTC

[jira] [Comment Edited] (OOZIE-3619) maxHistory default value set to 720 days assuming it to be hours which is not correct

    [ https://issues.apache.org/jira/browse/OOZIE-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17329938#comment-17329938 ] 

Bimalendu Choudhary edited comment on OOZIE-3619 at 4/23/21, 2:48 AM:
----------------------------------------------------------------------

Actually I was wrong, the default setting in the log4j.properties is set to roll every hour so 720 seems to be correct value. I think some how in my testing the values were set to roll every day which I assumed is default setting and wen all the way lookin why the default value is set to 720. We can close this.


was (Author: bimalenduc):
Actually I was wrong, the default setting in the log4j.properties is set to roll every hour so 720 seems to be correct value. I think some how in my testing the values were set to roll every day which I assumed is default setting and wen all the way lookin why the default value is set to 720. We can clos this.

> maxHistory default value set to 720 days assuming it to be hours which is not correct
> -------------------------------------------------------------------------------------
>
>                 Key: OOZIE-3619
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3619
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: 5.2.0
>            Reporter: Bimalendu Choudhary
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: oozie-3619.patch
>
>
> The default value of  maxHistory in OozieRollingPolicy.java is set to 720 and the comments describes it as being hour. However maxHistory is maximum number of rolled files which can be kept and rest gets deleted.  For days, 720 is a huge number.
>  
> We should change it to default value of 30 which is equivalent to 30 days and change the comments to describe it as number of rolled files and hours.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)