I want the output files in the format as 2012117-part-r-00000. Basically I want the output file to have the date appended to it, so that I can arrange the files according to date. I looked at OutputFormat and FileOutputFormat, but it doesn't help my case.
I just found out for the new API, I can use org.apache.hadoop.mapreduce.lib.output.MultipleOutputs and the method addNamedOutput()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With