skip to navigation
skip to content

kvlayer 0.4.5

table-oriented abstraction layer over key-value stores

Latest Version: 0.5.9


Table-oriented abstraction layer over key-value stores, such as
Accumulo, Cassandra, Postgres. Provides get, put, range scans,
compound UUID keys.

Also contains thrift-based InstanceCollection for storing
self-describing data in a key-value store. See
[this test of InstanceCollection](src/tests/kvlayer/instance_collection/
for details.

Accumulo tests

If you run the application tests, a working Accumulo server is required. These
procedure helps you to launch single node and multi node clusters to run the

Only Accumulo on EC2 is supported right now. All this procedure was tested on
Ubuntu 12.04.

1. Create the file ~/.saltcloud-ec2.conf with your EC2 credentials:

provider: ec2
private_key: /home/you/.accumulo-saltstack.pem
keyname: accumulo-saltstack

NOTE: Don't change the name "my-amz-credentials"!

2. Make sure that your ssh private_key is in the specified path with permissions

3. Launch the cluster:

make CLUSTER_SIZE=3 cluster

CLUSTER_SIZE is the number of instances to launch. Default: 1.

4. Run the tests:

py.test -vv src/tests

5. Destroy the cluster:

make CLUSTER_SIZE=3 cluster-destroy

CLUSTER_SIZE *MUST* be the size used in step 3.

To cleanup cluster temporal files in the local machine:

make cluster-clean


- Modify tests to read the Accumulo cluster address and credentials from an external
- Right now the tests point to, update your
/etc/hosts after you launche the cluster.
- More testing and cleanup. DONE
- Improve documentation. DONE !?
- Cluster destroy. (Looks like there is a bug in salt-cloud when using include).
- Fixed with a workaround, waiting for the next version of salt which will
have salt-cloud merged in the Salt project. More information here:  
File Type Py Version Uploaded on Size
kvlayer-0.4.5-py2.7.egg (md5) Python Egg 2.7 2014-04-21 132KB
kvlayer-0.4.5.tar.gz (md5) Source 2014-04-21 46KB