Return-Path: Delivered-To: apmail-incubator-pig-dev-archive@locus.apache.org Received: (qmail 46998 invoked from network); 28 Nov 2007 23:16:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2007 23:16:07 -0000 Received: (qmail 44069 invoked by uid 500); 28 Nov 2007 23:15:53 -0000 Delivered-To: apmail-incubator-pig-dev-archive@incubator.apache.org Received: (qmail 44047 invoked by uid 500); 28 Nov 2007 23:15:53 -0000 Mailing-List: contact pig-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@incubator.apache.org Delivered-To: mailing list pig-dev@incubator.apache.org Received: (qmail 44038 invoked by uid 99); 28 Nov 2007 23:15:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 15:15:53 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 23:15:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4EC7971424A for ; Wed, 28 Nov 2007 15:15:44 -0800 (PST) Message-ID: <26443828.1196291744320.JavaMail.jira@brutus> Date: Wed, 28 Nov 2007 15:15:44 -0800 (PST) From: "Patrick Hunt (JIRA)" To: pig-dev@incubator.apache.org Subject: [jira] Commented: (PIG-12) Please add timestamps to pig map/reduce progress messages In-Reply-To: <1470723.1193971910927.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/PIG-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546471 ] Patrick Hunt commented on PIG-12: --------------------------------- IMO most ppl won't care for the timestamp and it will just clutter the console. My recommendation is to: 1) document how to enable timestamps somewhere (pig twiki), users can just copy/paste what we give them, or they can dig into log4j if they want to get more complicated (their own appenders/formatters that can also calculate time intervals) 2) fix the issue that I documented - fix Pig Main.java so that log4j config is not hardcoded 3) communicate out to users > Please add timestamps to pig map/reduce progress messages > --------------------------------------------------------- > > Key: PIG-12 > URL: https://issues.apache.org/jira/browse/PIG-12 > Project: Pig > Issue Type: Improvement > Components: impl > Reporter: Olga Natkovich > > From one of the users: > ------------------------------ > I'm spending a lot of time trying to optimize my pig queries for short > run-times. This process would be much easier if, in the progress output > from pig (currently on stdout, but hopefully soon moving to > stderr?!), the > initiation and completion of each map/reduce job could be > timestamped. Pig > already spits out messages of the form "----- MapReduce Job -----", > "Input: > ...", "Combine: ...", etc; could you just add a "Timestamp: ..." > field as well? Or ideally, both "Starting timestamp: ..." and > "Finishing > timestamp ...". > Additional comments from another user: > ------------------------------------------------------ > I'm adding my vote for this as well. > I'd like to know timestamp and "running time" in seconds or D;H:M:S: > Thu Oct 25 10:06:01 GMT 2007 (0:00:12:56): 56% done > Starting and stopping timestamps in the log would also be valuable. > Unforutately, there's no "workaround" such as putting a date command before and after the pig command in logging -- > queuing times can be seconds to hours and completely mess up any notion of job execution time. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.