Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 48920 invoked from network); 3 Sep 2008 08:48:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 08:48:41 -0000 Received: (qmail 75959 invoked by uid 500); 3 Sep 2008 08:48:33 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 75927 invoked by uid 500); 3 Sep 2008 08:48:33 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 75916 invoked by uid 99); 3 Sep 2008 08:48:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 01:48:33 -0700 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; Wed, 03 Sep 2008 08:47:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A313A234C1C6 for ; Wed, 3 Sep 2008 01:47:44 -0700 (PDT) Message-ID: <105413144.1220431664666.JavaMail.jira@brutus> Date: Wed, 3 Sep 2008 01:47:44 -0700 (PDT) From: "Amar Kamat (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4017) Unify the way job history filename is parsed In-Reply-To: <758463425.1219689464550.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/HADOOP-4017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627934#action_12627934 ] Amar Kamat commented on HADOOP-4017: ------------------------------------ The way job details are recovered from the jobhistory filename is buggy. Every piece of code that tries to infer this information does something like {code} 1. split on '_' 2) username = split[5]. {code} But the username can also have a '_' and this trick might no longer work. Same is true for jobname. > Unify the way job history filename is parsed > --------------------------------------------- > > Key: HADOOP-4017 > URL: https://issues.apache.org/jira/browse/HADOOP-4017 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Reporter: Amar Kamat > > Job history filename has the following meta-info : > - jobtracker's hostname > - job id > - username > - jobname > {{HistoryViewer.java}} and {{jobhistory.jsp}} are required to parse the history filename to extract the meta-info. It makes more sense to provide a common utility in {{JobHistory}} to do it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.