hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gang Luo <lgpub...@yahoo.com.cn>
Subject fail to get parameters in new API
Date Fri, 06 Aug 2010 14:16:13 GMT
Hi all,
I want to know which file (path) I am processing in each map task. In the old 
API, I can get it by JobConf.get("map.input.file");. When it comes to new API, 
the context.getConfiguration.get("map.input.file") returns null. Does that mean 
parameter "map.input.file" does not exist in new API? How about other job/task 
specific parameters? Is there any documentation talking about this?

Thanks,
-Gang



      

Mime
View raw message