You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Amandeep Khurana <am...@gmail.com> on 2009/06/25 20:51:08 UTC

map.input.file in hadoop0.20

How do I read the "map.input.file" parameter in the mapper class in hadoop
0.20. In earlier versions, this would work:
public void configure(JobConf conf) {
            filename = conf.get("map.input.file");
        }

What about 0.20?

Amandeep



Amandeep Khurana
Computer Science Graduate Student
University of California, Santa Cruz