Hello
I hired 3 machines from Amazon EC2 (m1.small) and tried to do some tests with hyperdex. I installed Ubuntu 13.10 (Saucy), installed hyperdex as in tutorial.
On machine 1 I started coordinator:
hyperdex coordinator -d -l <machine1_IP> -p 1982 -D /mnt/hyperdex/coordinator/
and daemon
hyperdex daemon -d --listen=<machine1_IP> --listen-port=2012 --coordinator=<machine1_IP> --coordinator-port=1982 --data=/mnt/hyperdex/daemon
On machine 1 and 2 I started daemons
hyperdex daemon -d --listen=<local_machine_IP> --listen-port=2012
--coordinator=<machine1_IP> --coordinator-port=1982
--data=/mnt/hyperdex/daemon
Then I ran python script which operates on DB, but it fails during an attempt to put data (I try to put 10,000 records, about 9,000 succeeds). The message is:
File "keyValueStorage_small.py", line 34, in possiblyWaitAfterAsyncCommandIssued
client.loop().wait()
File "client.pyx", line 959, in hyperdex.client.Deferred.wait (bindings/python/hyperdex/client.c:9674)
File "client.pyx", line 806, in hyperdex.client.hyperdex_python_client_deferred_encode_status (bindings/python/hyperdex/client.c:7244)
hyperdex.client.HyperDexClientException: HyperDexClientException: reconfiguration affecting virtual_server(3408)/server(4756571285073274212) [HYPERDEX_CLIENT_RECONFIGURE]
When I look into coordinator logs problems seem to start with:
I0322 10:04:39.972847 2036 object_manager.cc:1088] hyperdex:server_suspect @ 19595: changing server(4756571285073274212) from AVAILABLE to NOT_AVAILABLE because we suspect it failed
...
I0322 10:04:39.973033 2036 object_manager.cc:1088] hyperdex:server_suspect @ 19595: issuing new configuration version 2566
Then it changes to back AVAILABLE, another server changes to NOT_AVAILABLE and it goes so for about 4 minutes.
Logs of daemon that failed first are:
I0322 10:01:10.981914 2518 state_transfer_manager.cc:149] ending outgoing transfer(3449)
I0322 10:01:10.983396 2518 daemon.cc:460] reconfiguration complete; resuming normal operation
I0322 10:04:39.974179 2518 daemon.cc:442] moving to configuration version=2566; pausing all activity while we reconfigure
I0322 10:04:40.183389 2518 daemon.cc:460] reconfiguration complete; resuming normal operation
Is it some known issue? Unfortunately
hyperdex.org site is down today.
Thanks for any help
Tadeusz