hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongzhi Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14672) Add timestamps to startup message in hive scripts.
Date Wed, 31 Aug 2016 19:31:20 GMT

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

Yongzhi Chen commented on HIVE-14672:
-------------------------------------

LGTM +1

> Add timestamps to startup message in hive scripts.
> --------------------------------------------------
>
>                 Key: HIVE-14672
>                 URL: https://issues.apache.org/jira/browse/HIVE-14672
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>    Affects Versions: 2.0.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Minor
>         Attachments: HIVE-14672.patch
>
>
> if hive services are started as background processes (most certainly the case) with output
from stdout and stderr redirected to a file, certain fatal errors, like OutOfMemoryErrors,
are printed to stderr. Such errors often do not have a timestamp associated with it. So overtime,
after multiple restarts of the hive processes, the stdout/err redirect log looks like this
> {code}
> Starting Hive Metastore Server
> Starting Hive Metastore Server
> Exception in thread "main" java.lang.OutOfMemoryError: Requested array size exceeds VM
limit
> Starting Hive Metastore Server
> {code}
> It would be useful to have a timestamp associated with the "Starting Hive Metastore Server"
message to help debug when such errors may have occurred so we could look in the corresponding
logs to help narrow down the issue.
>  
>  



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

Mime
View raw message