hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From java8964 java8964 <java8...@hotmail.com>
Subject RE: number input files to mapreduce job
Date Tue, 12 Feb 2013 15:01:44 GMT

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.
http://hadoop.apache.org/docs/r2.0.2-alpha/api/org/apache/hadoop/mapred/FileSplit.html
Date: Tue, 12 Feb 2013 12:35:16 +0530
Subject: number input files to mapreduce job
From: vikascjadhav87@gmail.com
To: user@hadoop.apache.org

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



Thanx and Regards Vikas Jadhav 		 	   		  
Mime
View raw message