Comments (4)
More info on how coordinator/daemon are started per tutorial. It seems that some config steps are missed in tutorial maybe ..
- able to start coordinator
python -m hdcoordinator.coordinator --control-port 6970 --host-port 1234 --logging debug
INFO:root:Host ID XXX identifies as instance
DEBUG:root:Host ID XXX is CONFIGPENDING; reconfiguring
DEBUG:root:Host ID XXX acknowledges config
- able to start daemon
hyperdex-daemon 127.0.0.1 1234 127.0.0.2 /tmp
E0224 10:52:36.367226 18288 daemon.cc:149] We've been configured to a dummy node.
- However, it seems that coordinator does not know how to configure when daemon starts ...
a) coordinator notes that HOST ID is XXX. How to specify host id?
b) coordinator notes HOST ID XXX is CONFIGPENDING; reconfiguring
What does a) b) mean? Does it mean config is incomplete? Does it mean daemon is not started successfully?
c) what's missing? how to proceed?
from hyperdex.
This is a temporary issue. In HEAD there is a tool which locally validates the space description, and provides much more feedback for debugging issues like this. There will be a release including this tool early next week.
For now, let's debug the current code on your machine. Can you give me a transcript of your terminal session when netcat fails? I sometimes missed the trailing "." which is on a line by itself, but if that is not the issue, it'll help to see exactly what was typed.
from hyperdex.
Hey Robert,
Thanks a lot for your reply. It is true the problem in my netcat script is that I missed the ending "." So your hints corrected this problem.
However, moving forward, I had problem to run python client to insert a record into the table/space created using netcat.
What can I miss?
Thx in advance,
Annie
Details:
- Problem to insert records into table/space per tutorial
import hyperclient
c = hyperclient.Client('127.0.0.1', 1234)
c.insert('phonebook', 'jsmith1', {'first': 'John', 'last': 'Smith','phone': 6075551024})
Traceback (most recent call last):
File "", line 1, in
File "hyperclient.pyx", line 342, in hyperclient.Client.insert (hyperclient/python/hyperclient.c:4644)
File "hyperclient.pyx", line 356, in hyperclient.Client.async_insert (hyperclient/python/hyperclient.c:5120)
File "hyperclient.pyx", line 207, in hyperclient.DeferredInsert.cinit (hyperclient/python/hyperclient.c:2518)
hyperclient.HyperClientException: Connection Failure
- I examined the table/space created on my local disk:
ls -al hyperdex/
total 20
drwxr-xr-x 5 nokia nokia 4096 Feb 27 15:46 .
drwxr-xr-x 33 nokia nokia 4096 Feb 27 10:29 ..
drwx------ 2 nokia nokia 4096 Feb 27 15:46 region(space=1, subspace=0, prefix=1, mask=0)
drwx------ 2 nokia nokia 4096 Feb 27 15:46 region(space=1, subspace=0, prefix=1, mask=9223372036854775808)
drwx------ 2 nokia nokia 4096 Feb 27 15:46 region(space=1, subspace=1, prefix=2, mask=13835058055282163712)
from hyperdex.
No worries. I re-tried python client commands, and able to insert records. It will be nice to have more meaningful error msg for debugging :)
Thanks for help.
Mark this issue is resolved.
from hyperdex.
Related Issues (20)
- C API with document operations and Authorization ? HOT 1
- Atomic map ops appear to have relaxed ordering HOT 3
- Hyperdex daemon reports IO errors if data directory is a relative path HOT 1
- Trouble installing hyperdex-client (node) HOT 5
- How well does HyperDex scale with large datasets in multi DCs across the globe ?
- HyperDex Jepsen, Hermitage Tests
- Go admin bindings fail to build
- cityhash/city.cc HOT 1
- building with clang HOT 3
- HyperDexClientException: reconfiguration affecting virtual_server when putting data
- Publish Java client to maven central
- Python bindings segfault on OS X El Capitan HOT 3
- Error in `python3.5': free(): invalid next size (fast): 0x0000000001712440 HOT 2
- x
- depend on some many other libs HOT 2
- Project still alive? HOT 5
- Anyone actively using Hyperdex? HOT 19
- Bad release dates HOT 1
- replicant cannot be installed on Mac OS X because of daemon deprecation HOT 1
- hacker attack? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperdex.