Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce, mail # user - number input files to mapreduce job


+
Vikas Jadhav 2013-02-12, 07:05
Copy link to this message
-
Re: number input files to mapreduce job
Mahesh Balija 2013-02-12, 09:17
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 <[EMAIL PROTECTED]>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*
>