date - How can I Generate a time series with Hadoop? -
what's easiest way generate time series hadoop (or pig or hive)?, or can information on proper functions?
for example want generate 1sec sequence 00:00:00 01/01/2000 23:59:59 31/12/2010.
with other programs, such r, quite simple because have many functions work dates , times.
regards
you can write mapper empty map() method. in cleanup() method use of several java packages (e.g. joda) iterate on , format timestamps before writing them context.
Comments
Post a Comment