[
https://issues.apache.org/jira/browse/HIVE-15260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
anishek resolved HIVE-15260.
----------------------------
Resolution: Won't Fix
the hive 1.x uses log4j v1 where the daily rolling file appender does not
support the ability to delete logs older than x days, the only way is to move
to rolling File appender which will then change the rollover capability based
on size rather than date.
Since date based roll overs allow a better / easier way of look at logs of the
system, we have decided to not do anything on this branch for now.
logs older than 'x' days have to be either manually deleted of a cron job
looking at file patterns in the log directory can be scheduled to remove older
logs.
> Auto delete old log files of hive services
> ------------------------------------------
>
> Key: HIVE-15260
> URL: https://issues.apache.org/jira/browse/HIVE-15260
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2, Metastore
> Reporter: Thejas M Nair
> Assignee: anishek
>
> Hive log4j settings rotate the old log files by date, but they don't delete
> the old log files.
> It would be good to delete the old log files so that the space used doesn't
> keep increasing for ever.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)