forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
3.7 KiB
3.7 KiB
Using a Client
Scenario
After the client is installed, you can use the shell command on the client in O&M or service scenarios, or use the sample project on the client during application development.
This section describes how to use the client in O&M scenario or service scenarios.
Prerequisites
Procedure
- Log in to the node where the client is installed as the client installation user.
- Run the following command to switch to the client installation directory:
cd /opt/client
- Run the following command to set environment variables:
source bigdata_env
- If the cluster is in security mode, authenticate the user. For a normal cluster, user authentication is not required.
kinit Component service user
- Run the shell command as required.
Parent topic: Configuring Client