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

Switch to Plain View
Hadoop >> mail # user >> RE: number input files to mapreduce job

Copy link to this message
RE: number input files to mapreduce job

I don't think you can get list of all input files in the mapper, but what you can get is the current file's information.
In the context object reference, you can get the InputSplit(), which should give you all the information you want of the current input file.
Date: Tue, 12 Feb 2013 12:35:16 +0530
Subject: number input files to mapreduce job

Hi all,How to get number of Input files and thier to particular mapreduce job in java MapReduce  program.

Thanx and Regards Vikas Jadhav