Tools

Distributed Selftest

Warning: The selftest will recreate the distribution group testgroup

Usage: DistributedSelftest <Cluster-Name> <Cluster-Endpoint1> <Cluster-EndpointN>

Example:

$BBOXDB_HOME/bin/bboxdb_execute.sh org.bboxdb.tools.DistributedSelftest mycluster node1:2181

Local Selftest

Warning: The selftest will recreate the table testgroup_testtable

Usage: LocalSelftest <Iterations>

Example:

$BBOXDB_HOME/bin/bboxdb_execute.sh org.bboxdb.tools.LocalSelftest 10

SSTableExaminer

The SSTableExaminer dumps a tuple for given key from a SSTable.

Usage: SSTableExaminer <Base directory> <Tablename> <Tablenumber> <Key>

Hint: To get a full dump of the table, use “*” as the key.

Example:

$BBOXDB_HOME/bin/bboxdb_execute.sh org.bboxdb.tools.SSTableExaminer /tmp/bboxdb testgroup_testtable 200 951920

Initial partitioning creator

Create a initial partitioning for your distribution group.

Usage: CreateInitialPartitioning <File> <Format> <Distribution group> <Partitiones> <ZookeeperEndpoint> <Clustername>

Example:

 $BBOXDB_HOME/bin/bboxdb_execute.sh org.bboxdb.tools.partitioning.CreateInitialPartitioning /tmp/samples osm testgroup localhost mycluster