[
https://issues.apache.org/jira/browse/CHUKWA-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785521#action_12785521
]
Ari Rabkin commented on CHUKWA-421:
-----------------------------------
I am NOT proposing to increment a sequence id on the file names. I'm proposing
to use the file mod date plus length to figure out which rotated files are how
old. Hash of last record (or last 200 bytes or whatever) is also an option.
My intent is to make the code as modular as possible so that we can try out a
couple different approaches.
> 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
>
> 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.