hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rishav <superis...@gmail.com>
Subject Passing objects to Mapper
Date Tue, 20 Apr 2010 11:16:44 GMT

I am trying to pass an object of type LexicalizedParser (which is from an
imported jar file stanford-parser) from the main method to the Mapper Class.
This is to load the trained model first and then apply on every file offset
in the map function in the Mapper Class.
Could you tell me the best way to pass an object of any type to the Mapper?

Thanking you

Rishav Bhowmick
Computer Science -2010
Carnegie Mellon University
Tel: +974-561-4371
e-mail: rishavb@cmu.edu

View raw message