cool riak schema for storing log-like data

2010-10-07 Thread Michal Zajda
Hi, I come up with this idea of riak schema and wanted to know if you see some bad sides of that. So, I have those devices, which generate logs (these are documents with stats). Each log is tagged with timestamp. If we store it like that, in a bucket some-device-name, retrieving data is pretty ha

Re: riak / riaksearch fails and returns with "badarg, universaltime_to_localtime" on any mapreduce function

2010-11-21 Thread Michal Zajda
Hi, this is erlang issue. According to documentation ( http://erlang.org/doc/man/calendar.html#local_time_to_universal_time_dst-1): "This function converts from local time to Universal Coordinated Time (UTC). Date1 must refer to a local date after Jan 1, 1970." 5> And here my shell: calendar:lo