Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 23997 invoked from network); 19 Sep 2006 05:50:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2006 05:50:58 -0000 Received: (qmail 39904 invoked by uid 500); 19 Sep 2006 05:50:58 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 39706 invoked by uid 500); 19 Sep 2006 05:50:57 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 39697 invoked by uid 99); 19 Sep 2006 05:50:57 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 22:50:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from ([209.237.227.198:58509] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 62/A2-26148-1458F054 for ; Mon, 18 Sep 2006 22:50:57 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 590F5714300 for ; Tue, 19 Sep 2006 05:47:22 +0000 (GMT) Message-ID: <29918475.1158644842361.JavaMail.jira@brutus> Date: Mon, 18 Sep 2006 22:47:22 -0700 (PDT) From: "Owen O'Malley (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (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-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Replace the job, tip and task ids with objects. ----------------------------------------------- Key: HADOOP-544 URL: http://issues.apache.org/jira/browse/HADOOP-544 Project: Hadoop Issue Type: Improvement Affects Versions: 0.6.2 Reporter: Owen O'Malley Assigned To: Owen O'Malley 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 { private int; ... } class TaskId extends JobId { private boolean isMap; private int taskId; ... } class TaskAttemptId extends TaskId { private int attemptId; ... } each of the classes will have a toString() method that generates the current string. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira