I have a job that fails when there is no files in the input directory. The exception i get is the following:
org.apache.hadoop.mapreduce.lib.input.InvalidInputException:Input Pattern maprfs:/profile/*
I know this exception is coming from the FileInputFormat class. What would be the best approach for this problem. Would overwriting the InputFormat Class be the only solution?
Thank you