I am trying to retrieve the filename of the input file into my Mapper class.
I read it's accessible from my Configuration:
String filename = context.getConfiguration().
get( "map.input.file" );
But I am also intrigued by the String context.getInputSplit.getLocations()
function. What other ways are available to retrieve the filename in my
I am using the latest 0.20.2 release.