Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 19F02200B80 for ; Wed, 31 Aug 2016 00:53:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 18700160ACC; Tue, 30 Aug 2016 22:53:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8F8C8160AC5 for ; Wed, 31 Aug 2016 00:53:21 +0200 (CEST) Received: (qmail 50253 invoked by uid 500); 30 Aug 2016 22:53:20 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 50209 invoked by uid 99); 30 Aug 2016 22:53:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2016 22:53:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 808D62C1B81 for ; Tue, 30 Aug 2016 22:53:20 +0000 (UTC) Date: Tue, 30 Aug 2016 22:53:20 +0000 (UTC) From: "Naveen Gangam (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-14672) Add timestamps to startup message in hive scripts. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 30 Aug 2016 22:53:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-14672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Naveen Gangam updated HIVE-14672: --------------------------------- Status: Patch Available (was: Open) > 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)