You can override the configure() method in the map class to get the output filename. Use FileOutputFormat.getOutputPath(conf) to get the output filename. This will work for 0.17 and later. For earlier versions you can use conf.getOutputPath().
Amar
chaitanya krishna wrote:
Hi,

  Is there any way of finding out the output path argument ( that is given
as command-line argument) in the mapper class?


Reply via email to