[
https://issues.apache.org/jira/browse/CHUKWA-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791820#action_12791820
]
Eric Yang commented on CHUKWA-421:
----------------------------------
Instead of modification dates, it makes more sense to keep track of creation
time. If the creation time has changed, it means there was a rotation, and we
can sort out where to start tailing base on creation time. When log rotation
happens, the new filename does not change the creation time of the rotated log
file.
> new logfile rotation detection scheme
> -------------------------------------
>
> Key: CHUKWA-421
> URL: https://issues.apache.org/jira/browse/CHUKWA-421
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Components: data collection
> Reporter: Ari Rabkin
> Assignee: Ari Rabkin
> Attachments: CHUKWA-421.patch
>
>
> Currently, we keep files open in order to detect rotation. This is wasteful
> of file handles, doesn't work correctly across reboots, and I think we can do
> better.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.