Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@locus.apache.org Received: (qmail 55399 invoked from network); 17 Jan 2009 08:52:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jan 2009 08:52:21 -0000 Received: (qmail 25047 invoked by uid 500); 17 Jan 2009 08:52:21 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 25023 invoked by uid 500); 17 Jan 2009 08:52:21 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 25010 invoked by uid 99); 17 Jan 2009 08:52:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jan 2009 00:52:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jan 2009 08:52:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AF2CC234C48D for ; Sat, 17 Jan 2009 00:51:59 -0800 (PST) Message-ID: <721146752.1232182319716.JavaMail.jira@brutus> Date: Sat, 17 Jan 2009 00:51:59 -0800 (PST) From: "Joydeep Sen Sarma (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-176) structured log for obtaining query stats/info In-Reply-To: <955396043.1229372624308.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664809#action_12664809 ] Joydeep Sen Sarma commented on HIVE-176: ---------------------------------------- looks good for most part. let's get this committed! would be happier if we renamed hive.joblog.location to hive.querylog.location. as for disabling history - it seems that an invalid/blank location would effectively do that already. error messages: if history file throws an filenotfoundexception - please go through console.printError (instead of printStackTrace()) and give some message to user. QTestUtil and TestCliDriver changes look good to me. > structured log for obtaining query stats/info > --------------------------------------------- > > Key: HIVE-176 > URL: https://issues.apache.org/jira/browse/HIVE-176 > Project: Hadoop Hive > Issue Type: Bug > Components: Logging > Affects Versions: 0.2.0 > Reporter: Joydeep Sen Sarma > Assignee: Suresh Antony > Fix For: 0.2.0 > > Attachments: patch_176.txt, patch_176.txt, patch_176.txt, patch_176.txt > > > Josh wrote: > When launching off hive queries using hive -e is there a way to get the job id so that I can just queue them up and go check their statuses later? What's the general pattern for queueing and monitoring without using the libraries directly? > I'm gonna throw my vote in for a structured log format. Users could tail it and use whatever queuing or monitoring they wish. It's also probably just a 30 minute project for someone already familiar with the code. I suggest ^A seperated key=value pairs per log line. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.