Installing
Install using RPM
[root@localhost]# rpm -ivh hdb-1.0.0-1.i386.rpm
Preparing... ######## [100%]
1:hdb ######## [100%]
Try setting a value. If you are using the network version of HDB, This will fail if the daemon isn't running
[root@localhost]# hdb-set list/key=value
ERR - Unable to connect to HDB daemon.
Start the daemon
[root@localhost]# service hdbd start
Starting hdbd: [ OK ]
Try setting and getting some values
[root@localhost]# hdb-set list/key=value
[root@localhost]# hdb-get list/key
value
HDB comes with a test program. This is not the complete regression test. Just a "smoke test". If something is wrong this test usually fails.
[root@localhost]# hdb-test
hdb regression tester
Usage: hdb-test --run
Warning. This program will wipe all data in
/tmp/tapir/hdb and /tmp/tapir2/hdb
Force the test to run with --run
[root@localhost]# hdb-test --run
INFO - Running external tests with hdb
...
...
PASS - All tests passed
|