[
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:51 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.
Until we want to change the log4j.properties also to keep the default rolling
period every day as default.
But there is nothing wrong in current value 720.
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
close 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)