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 C6349ECEF for ; Tue, 12 Feb 2013 09:18:20 +0000 (UTC) Received: (qmail 83810 invoked by uid 500); 12 Feb 2013 09:18:16 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 83175 invoked by uid 500); 12 Feb 2013 09:18:15 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 83154 invoked by uid 99); 12 Feb 2013 09:18:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 09:18:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of balijamahesh.mca@gmail.com designates 209.85.215.42 as permitted sender) Received: from [209.85.215.42] (HELO mail-la0-f42.google.com) (209.85.215.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 09:18:06 +0000 Received: by mail-la0-f42.google.com with SMTP id fe20so6695394lab.15 for ; Tue, 12 Feb 2013 01:17:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=CZ5CUgzNo6msSkBSqGSnUYeMGbHRf2mXj781TiqAUNM=; b=xuGXl+ff2/ltJfV/MPtih66BLlEHI476vNIsm+HTHWvcsWbEiTSPryvOYzZEfgiD+5 ML67TTtLpE/RXlQ5KjKJ/QKIV+HgivRLGbvhEeP2XtOTLUuMZHjZywoBPvxuc2j4/V4x lm7BJUnRdUeiuB+OwSqKKw2LE2z5APak0Ytyvg7EDRxaCi7XQ6uj1YDucQYFaCokmPhT 27Kne4qP1oyo5Q0zLvOstfDl9DydpDxuCfC0+EBz/skDF0YyPOqXUup7+lpOc9FMVNCs 54Nk6ayejEzJ7YYC1AolYXSpgIeySNsiPgY9nbW4fzCeYtdpp+GQkFsTee/nN9LW29jS NzaQ== MIME-Version: 1.0 X-Received: by 10.152.110.167 with SMTP id ib7mr10272690lab.22.1360660666168; Tue, 12 Feb 2013 01:17:46 -0800 (PST) Received: by 10.112.74.198 with HTTP; Tue, 12 Feb 2013 01:17:46 -0800 (PST) In-Reply-To: References: Date: Tue, 12 Feb 2013 14:47:46 +0530 Message-ID: Subject: Re: number input files to mapreduce job From: Mahesh Balija To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=f46d040838b3aab4bf04d5837f4e X-Virus-Checked: Checked by ClamAV on apache.org --f46d040838b3aab4bf04d5837f4e Content-Type: text/plain; charset=ISO-8859-1 Hi Vikas, You can get the FileSystem instance by calling FileSystem.get(Configuration); Once you get the FileSystem instance you can use FileSystem.listStatus(InputPath); to get the fileStatus instances. Best, Mahesh Balija, Calsoft Labs. On Tue, Feb 12, 2013 at 12:35 PM, Vikas Jadhav wrote: > Hi all, > How to get number of Input files and thier to particular mapreduce job in > java MapReduce program. > > -- > * > * > * > > Thanx and Regards* > * Vikas Jadhav* > --f46d040838b3aab4bf04d5837f4e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Vikas,

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 You can g= et the FileSystem instance by calling FileSystem.get(Configuration);
=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Once you get the FileSystem i= nstance you can use FileSystem.listStatus(InputPath); to get the fileStatus= instances.

Best,
Mahesh Balija,
Calsoft Labs.

On Tue, Feb 12, 2013 at 12:35 PM, Vikas Jadhav <vikascjadhav87@= gmail.com> wrote:
Hi all,
How to get number of = Input files and thier to particular mapreduce job in java MapReduce=A0 prog= ram.

--


Thanx and Regards
=A0Vikas Jadhav

--f46d040838b3aab4bf04d5837f4e--