Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61D507108 for ; Thu, 29 Dec 2011 06:54:43 +0000 (UTC) Received: (qmail 37171 invoked by uid 500); 29 Dec 2011 06:54:41 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 36987 invoked by uid 500); 29 Dec 2011 06:54:41 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 36979 invoked by uid 500); 29 Dec 2011 06:54:40 -0000 Delivered-To: apmail-hadoop-core-dev@hadoop.apache.org Received: (qmail 36976 invoked by uid 500); 29 Dec 2011 06:54:40 -0000 Delivered-To: apmail-lucene-hadoop-dev@lucene.apache.org Received: (qmail 36971 invoked by uid 99); 29 Dec 2011 06:54:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2011 06:54:39 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bhavesh25shah@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qy0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2011 06:54:32 +0000 Received: by qcsc2 with SMTP id c2so9662071qcs.35 for ; Wed, 28 Dec 2011 22:54:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=/QnomvyBmHe0dd1Wm6je7qp4f8JVG1xZbbWC1zf4SZA=; b=XMCXOc3Gqu+7h3MbFGr1ew6l0nhl6OmVblExl0jwjYOuQuthB5InaHnGLzKOY/h5/i Dx8GIeCdycQ6lnAnAuB+e88r8NcJRsBAEJMpvIdwnuRDKdLY+aQ7AtRQA5nEFCsotSC9 wXBxpTffa9ysQRJvhMld/4WPrz3Ye37UzL5+Y= MIME-Version: 1.0 Received: by 10.229.137.21 with SMTP id u21mr12859506qct.23.1325141652131; Wed, 28 Dec 2011 22:54:12 -0800 (PST) Received: by 10.229.227.130 with HTTP; Wed, 28 Dec 2011 22:54:12 -0800 (PST) In-Reply-To: References: Date: Thu, 29 Dec 2011 12:24:12 +0530 Message-ID: Subject: Regarding MultipleInputs.addInputPath From: Bhavesh Shah To: hadoop-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, I am using the class MultipleInputs class in Map-Rduce program. Syntax is : =A0 =A0 =A0 =A0 MultipleInputs.addInputPath(job, path, inputFormatClass) = =A0 =A0or =A0 =A0 =A0 =A0 MultipleInputs.addInputPath(job, path, inputFormatClass, ma= pperClass) I have used as: MultipleInputs.addInputPath(conf, new Path("hdfs://localhost:54310//user/hive/warehouse/testencounter/"),TextInpu= tFormat.class, ReadMapper.class); But, I am getting the error as: The method addInputPath(Job, Path, Class, Class) in the type MultipleInputs is not applicable for the arguments (JobConf, Path, Class, Class) But I am not getting what to use in place of inputFormatClass I have also tried to set the InputFormat and OutputFormat but I am getting the error while I am setting OutputFormat as: Multiple markers at this line - The method setOutputFormat(Class) in the type JobConf is not applicable for the arguments (Class) - TextOutputFormat cannot be resolved to a type I am not getting the error. Pls help me. Thanks -- Regards, Bhavesh Shah