I am passing a file pattern:
FileInputFormat.addInputPath(job, new Path("/path/to/file*"));
And I wish to know which files actually matches it after the job finished running, provided that it was successful.
I have tried:
job.getConfiguration().get("mapreduce.input.fileinputformat.inputdir")
but it is returning the same thing:
"/path/to/file*"
I am wondering if there's a method to get the matching Paths without resorting to creating another routine to do the scanning of directories.
Your enlightenment is much appreciated.