Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 81126 invoked from network); 9 Jul 2008 07:10:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 07:10:28 -0000 Received: (qmail 79357 invoked by uid 500); 9 Jul 2008 07:10:23 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 79321 invoked by uid 500); 9 Jul 2008 07:10:23 -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 79310 invoked by uid 99); 9 Jul 2008 07:10:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 00:10:22 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.145.54.171] (HELO mrout1.yahoo.com) (216.145.54.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 07:09:28 +0000 Received: from [192.168.1.64] (snvvpn1-10-72-74-c118.corp.yahoo.com [10.72.74.118]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id m6978HqG071010 for ; Wed, 9 Jul 2008 00:08:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:content-type:message-id: content-transfer-encoding:from:subject:date:to:x-mailer; b=q6blnOKaxkFlKeInS2JQm+UZ2reSobcf3BhsoVCqSreeH63+Xip1ORrX2bUUhbii Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <52c3ddca0807081511i6652754en65dcc6e83398dc4b@mail.gmail.com> References: <52c3ddca0807081511i6652754en65dcc6e83398dc4b@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Arun C Murthy Subject: Re: Job API question - ArrayList instead of List? Date: Wed, 9 Jul 2008 00:08:52 -0700 To: core-dev@hadoop.apache.org X-Mailer: Apple Mail (2.753.1) X-Virus-Checked: Checked by ClamAV on apache.org On Jul 8, 2008, at 3:11 PM, Lukas Vlcek wrote: > Hi, > > Why the Job API is using ArrayList instead of List? > > It is used in constructor: > public Job(JobConf jobConf, ArrayList dependingJobs) > > and one public method: > public ArrayList getDependingJobs() > > Is there any reason why it is referencing to implementation while > it could > be replaced by interface? > Originally an oversight, we did file http://issues.apache.org/jira/ browse/HADOOP-2268 but didn't change it to keep it compatible... Arun