Hadoop - Getting input paths, java api -
i passing file pattern: fileinputformat.addinputpath(job, new path("/path/to/file*")); and wish know files matches after job finished running, provided successful. i have tried: job.getconfiguration().get("mapreduce.input.fileinputformat.inputdir") but returning same thing: "/path/to/file*" i wondering if there's method matching paths without resorting creating routine scanning of directories. your enlightenment appreciated. try link, has few ways path in mapper. but, sure talking few more ways. :) how input file name in mapper in hadoop program?