hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric <eric.x...@gmail.com>
Subject Passing configuration options to the Map class
Date Mon, 13 Dec 2010 20:54:00 GMT

I'm looking for a way to pass options to my Map class. More specifically, I want my mappers
to write to sequence files in a path that I can specify on the command line. I tried setting
a variable with:

Jobconf conf = ........;
conf.set("outputPath", "/foo/bar");

(I'm using the deprecated libraries)

I can not retrieve this setting in my mapper however. Is there another way, or am I doing
something wrong?

Best regards,
View raw message