Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 7102 invoked from network); 2 Apr 2008 14:28:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2008 14:28:00 -0000 Received: (qmail 66359 invoked by uid 500); 2 Apr 2008 14:27:59 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 66038 invoked by uid 500); 2 Apr 2008 14:27:58 -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 66019 invoked by uid 99); 2 Apr 2008 14:27:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 07:27:58 -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, 02 Apr 2008 14:27:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B5FF2234C0B1 for ; Wed, 2 Apr 2008 07:25:28 -0700 (PDT) Message-ID: <56185093.1207146328730.JavaMail.jira@brutus> Date: Wed, 2 Apr 2008 07:25:28 -0700 (PDT) From: "Enis Soztutar (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-544) Replace the job, tip and task ids with objects. 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-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enis Soztutar updated HADOOP-544: --------------------------------- Affects Version/s: (was: 0.17.0) 0.18.0 Fix Version/s: (was: 0.17.0) 0.18.0 I could not find time to update the patch, moving this to 0.18. > Replace the job, tip and task ids with objects. > ----------------------------------------------- > > Key: HADOOP-544 > URL: https://issues.apache.org/jira/browse/HADOOP-544 > Project: Hadoop Core > Issue Type: Improvement > Components: mapred > Affects Versions: 0.18.0 > Reporter: Owen O'Malley > Assignee: Enis Soztutar > Fix For: 0.18.0 > > Attachments: id_v1.patch, id_v2.patch, id_v3.patch, id_v4.patch, id_wip1.patch > > > I think that it is silly to have tools parsing the strings that the framework builds for task ids. I propose: > class JobId implements Writable { > public int getJobId() {...} > } > class TaskId implements Writable { > public JobId getJobId(); > public boolean isMap() { ... } > public int getTaskId() { ... } > } > class TaskAttemptId implements Writable { > public TaskId getTaskId(); > public int getAttemptId(); > } > each of the classes will have a toString() method that generates the current string. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.