stardog-admin zk info Manual Page

NAME


stardog-admin zk info —Prints the data Stardog stores in a ZooKeeper cluster.

SYNOPSIS


stardog-admin zk info [ --home <home> ] [ {-v | --verbose} ] [ --zkauth <auth> ] [--] [ <zkAddress> ]

OPTIONS


--home <home>
Stardog home directory location. This is where the stardog.properties file is located at.
-v, --verbose
Flag that can cause more detailed information to be printed such as errors and status. Exact output depends upon the command and options used.
--zkauth <auth>
Zookeeper authentication string. If this value is not provided the value for the configuration option 'pack.zookeeper.auth' from stardog.properties is used. If that value is not set either then the default value 'admin:admin' will be used.
--
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
<zkAddress>
Zookeeper connection string. If this value is not provided the value for the configuration option 'pack.zookeeper.auth' from stardog.properties is used.

DISCUSSION


This command connects to a Zookeeper cluster and prints the data stored by Stardog.

EXAMPLES


Connects to a Zookeeper at the given address and prints the data:

    $ stardog-admin zk info 127.0.0.1:2180

Connects to a Zookeeper at the given address with the given authentication string and prints the data:

    $ stardog-admin zk info --zkauth my_secret_key 127.0.0.1:2180

Read the Zookeeper address and the authentication string from stardog.properties in the specified home directory:

    $ stardog-admin zk info --home stardog_home_path

Read the Zookeeper address and the authentication string from stardog.properties in $STARDOG_HOME:

    $ stardog-admin zk info