You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2016/02/20 03:49:18 UTC

[jira] [Commented] (HIVE-13107) LLAP: Rotate GC logs periodically to prevent full disks

    [ https://issues.apache.org/jira/browse/HIVE-13107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15155327#comment-15155327 ] 

Prasanth Jayachandran commented on HIVE-13107:
----------------------------------------------

Also we should consider using -XX:+PrintGCDateStamps instead of -XX:+PrintGCTimeStamps. 

{code}
-XX:+PrintGCTimeStamps -> 0,185: [GC 66048K->53077K(251392K), 0,0977580 secs]
-XX:+PrintGCDateStamps -> 2014-01-03T12:08:38.102-0100: [GC 66048K->53077K(251392K), 0,0959470 secs]
{code}

Easier to correlate with log lines.

> LLAP: Rotate GC logs periodically to prevent full disks
> -------------------------------------------------------
>
>                 Key: HIVE-13107
>                 URL: https://issues.apache.org/jira/browse/HIVE-13107
>             Project: Hive
>          Issue Type: Bug
>          Components: llap
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>
> STDOUT cannot be rotated easily, so log GC logs to a different file and rotate periodically with -XX:+UseGCLogFileRotation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)