Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45DCD7E35 for ; Wed, 20 Jul 2011 17:08:32 +0000 (UTC) Received: (qmail 97336 invoked by uid 500); 20 Jul 2011 17:08:29 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 97239 invoked by uid 500); 20 Jul 2011 17:08:28 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 97231 invoked by uid 99); 20 Jul 2011 17:08:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2011 17:08:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_RED X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of harsh@cloudera.com designates 209.85.213.176 as permitted sender) Received: from [209.85.213.176] (HELO mail-yx0-f176.google.com) (209.85.213.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2011 17:08:21 +0000 Received: by yxl11 with SMTP id 11so268838yxl.35 for ; Wed, 20 Jul 2011 10:08:00 -0700 (PDT) Received: by 10.236.184.10 with SMTP id r10mr10867782yhm.67.1311181680679; Wed, 20 Jul 2011 10:08:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.116.104 with HTTP; Wed, 20 Jul 2011 10:07:40 -0700 (PDT) In-Reply-To: References: From: Harsh J Date: Wed, 20 Jul 2011 22:37:40 +0530 Message-ID: Subject: Re: Bad file descriptor with MultipleInputs To: common-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Bibudh, Could you post the exact/entire stacktrace, and your client configuration files? (You can use a service like pastebin.com or paste inline into the mail itself, since the list does not allow attachments) On a light hearted note, here's some humor meanwhile: http://imgur.com/jaco= j ;) On Wed, Jul 20, 2011 at 3:23 AM, Bibudh Lahiri wrote: > Hi, > =A0 I am using MultipleInputs.addInputPath to connect the output of two m= ap > jobs with one reduce job. I've specified the inputformat to be > TextInputFormat, and getting a "bad file descriptor" error. When I ran th= e > map jobs separately with the reduce job (slightly diff version), it was > fine. The files that these map jobs should read also look alright - these > are outputs of previous reduce jobs in the chain. Any suggestions? Should= I > use a different input format? I saw KeyValueInputFormat has become > deprecated. > > =A0 Thanks > =A0 =A0 =A0 =A0 =A0 =A0 =A0Bibudh > > -- > Bibudh Lahiri > Senior Analytics Engineer, Kikin Inc > 132 Crosby Street, New York, NY 10012 > http://www.kikin.com > PhD candidate, Dept. of Electrical and Computer Engg. > Iowa State University > http://home.eng.iastate.edu/~bibudh/ > --=20 Harsh J