I have written custom RecordReader and Custom InputFormat. I will have date in file name and i can collect that at RecordReader.
Now, i have a requirement to prepare HashMap with all dates, and need to use it while partitioning.
Is there any possibility to create HashMap in InputFormat and share it with context.?