hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley" <omal...@apache.org>
Subject Re: Reading File in constructor of Mapper
Date Sun, 25 Jul 2010 15:47:13 GMT
Usually, you'd do that kind of processing in the setConf method of the
Mapper (assuming you mark it Configurable). That will let you get the
configuration which can contain the location of the file to read.

-- Owen

Mime
View raw message