[
https://issues.apache.org/jira/browse/HBASE-12816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14282760#comment-14282760
]
Andrew Purtell commented on HBASE-12816:
----------------------------------------
[~abhishek.chouhan], agreed appending the timestamp to the file when we rotate
it seems reasonable.
Should we also look at renaming any files rolled over by the JVM with
UseGCLogFileRotation with timestamps for consistency's sake?
> GC logs are lost upon Region Server restart if GCLogFileRotation is enabled
> ---------------------------------------------------------------------------
>
> Key: HBASE-12816
> URL: https://issues.apache.org/jira/browse/HBASE-12816
> Project: HBase
> Issue Type: Bug
> Components: scripts
> Reporter: Abhishek Singh Chouhan
> Assignee: Abhishek Singh Chouhan
> Priority: Minor
> Fix For: 1.0.0, 2.0.0, 0.98.10, 1.1.0
>
> Attachments: HBASE-12816.patch
>
>
> When -XX:+UseGCLogFileRotation is used gc log files end with .gc.0 instead of
> .gc. hbase_rotate_log () in hbase-daemon.sh does not handle this correctly
> and hence when a RS is restarted old gc logs are lost(overwritten).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)