Configuring the shell
You can also set the shell start-up arguments by modifying the configuration file .kvclirc
found in your home directory.
Arguments can be configured in the .kvclirc
file using the name=value
format. This file is shared by all shells, each having its named section. [sql]
is used for the Query shell, while [kvcli]
is used for the Admin Command Line Interface (CLI).
For example, the .kvclirc
file would then contain content like this:
[sql]
helper-hosts=node01:5000
store=kvstore
timeout=10000
consistency=NONE_REQUIRED
durability=COMMIT_NO_SYNC
username=root
security=/tmp/login_root
[kvcli]
host=node01
port=5000
store=kvstore
admin-host=node01
admin-port=5001
username=user1
security=/tmp/login_user
admin-username=root
admin-security=/tmp/login_root
timeout=10000
consistency=NONE_REQUIRED
durability=COMMIT_NO_SYNC