riak / riaksearch fails and returns with "badarg, universaltime_to_localtime" on any mapreduce function
zajdamichal at gmail.com
Sun Nov 21 10:59:11 EST 2010
this is erlang issue.
According to documentation (
"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:
** exception error: bad argument
in function erlang:localtime_to_universaltime/2
in call from calendar:local_time_to_universal_time_dst/1
Track down date generator and handle the case.
On 21 November 2010 11:10, A. Sebastian Dietzel <sebastian at dubizzle.com>wrote:
> I've trouble getting the mapreduce functions to work in riak and
> It fails with some sort of timestamp error, unfortunately I'm not good
> enough in
> Erlang to fix it, but I've attached the error logs and riaksearch-admin
> status output - hope that helps.
> So far, I've tried it on my local dev machine (osx - riak/riaksearch source
> installation, tarball and github master branch),
> on centos 5.3 (github master) and on ubuntu,
> the .deb packaged version on ubuntu works and doesn't fail in my test
> The attached test is written in python based on the test cases in the
> and utilizes the http client from the python library for riak.
> But that shouldn't matter, it also fails via the pbc-python client (I've
> attached logs for that as well),
> as well as in ruby (using the official client) and via curl too.
> I didn't attach any logs for ruby or curl, as they're similar to the http
> based python client.
> Since no one else is having these issues, I presume I'm doing something
> but I don't know what exactly.
> I'm running riak/riaksearch from the console like this:
> ulimit -n 1024
> $PATH_TO_RIAKS_SRC/rel/bin/riaksearch start
> or for regular riak:
> $PATH_TO_RIAK_SRC/rel/bin/riak start
> This works and starts riak / riaksearch, but as soon as I start doing
> anything mapreduce with the servers they fail with:
> I'm using Erlang R13B04.
> Please let me know if I can provide anything else to help solving this
> Thank you in advance,
> A. Sebastian Dietzel (el mariachi)
> sebastian at dubizzle.com
> riak-users mailing list
> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users