Updated on 2022-08-12 GMT+08:00

Using a Client

Scenario

After a client is installed, you can use shell commands on the client in an O&M scenario or service scenario, or use example projects on the client in an application development scenario.

Use a client in an O&M scenario or service scenario.

Prerequisites

  • You have installed the client. For example, the installation directory is /opt/Bigdata/client.
  • The component service user can be created by the system administrator as required.

    The keytab file must be downloaded for a Machine-Machine user. Change the password of the Human-Machine user at the first login.

Procedure

  1. Log in to the node where the client is installed as the client installation user.
  2. Run the following command to go to the client installation directory:

    cd /opt/Bigdata/client

  3. Run the following command to configure environment variables:

    source bigdata_env

  4. If the cluster uses the Security Mode, run the following command to perform user authentication. If the cluster uses the Normal Mode, no user authentication is required.

    kinit component service user

  5. Run shell commands based on the actual service requirements.