{error, timeout}

stewart mackenzie setori88 at gmail.com
Fri Oct 9 03:13:20 EDT 2009

Hi all, I would love it if you guys could give me a hand at this.

this is my config file

{cluster_name, "default"}.
{ring_state_dir, "priv/ringstate"}.
%% note: make sure you configure your operating system limits for maximum
%% open files (using ulimit/sysctl) when creating larger ring sizes.
{ring_creation_size, 16}.
{gossip_interval, 60000}.
{doorbell_port, 9000}.
{storage_backend, riak_ets_backend}.
%{riak_dets_backend_root, "priv/store/dets"}.
{riak_cookie, riak_demo_cookie}.
{riak_heart_command, "(cd /workspace/riak; ./start-restart.sh
{riak_nodename, riakdemo}.
{riak_hostname, ""}.
{riak_web_ip, ""}.
{riak_web_port, 8098}.
{jiak_name, "jiak"}.

$ ./riak_demo.escript  config/riak-demo.erlenv
Attempting to connect to 'riakdemo at' with cookie
Connected successfully
Looking for pre-existing object at {<<"riak_demo">>, <<"demo">>}...
  Pre-existing object found, modifying
Storing object with new value...
  Written successfully
Fetching object at {<<"riak_demo">>, <<"demo">>}...
  Fetched successfully
  Object contained correct value

started with this command

$ erl -name riaktest at -pa c:/workspace/riak/ebin

(riaktest at> {ok, C} = riak:local_client().
{ok,{riak_client,'riaktest at',
                 <<"20091009070107-riaktest at
(riaktest at> Object = riak_object:new(<<"artist">>,<<"REM">>,
[{albums, 2}, {members,[<<"Buck">>,<<"Stipe">>,<<"Mills">>,<<"Berry">>]}]).
(riaktest at> ok = C:put(Object, 2).
** exception error: no match of right hand side value {error,timeout}
(riaktest at>

why on earth is it timing out?

Kind regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20091009/dbeda8e5/attachment-0002.html>

More information about the riak-users mailing list