Help Center > > User Guide> Using an MRS Client> Using the Client of Each Component> Using a Storm Client

Using a Storm Client

Updated at: Sep 02, 2021 GMT+08:00

Scenario

This section describes how to use the Storm client in an O&M scenario or service scenario.

Prerequisites

  • The client has been installed. For example, the installation directory is /opt/hadoopclient.
  • Service component users are created by the administrator as required. In security mode, machine-machine users need to download the keytab file. A human-machine user must change the password upon the first login. (Not involved in normal mode)

Procedure

  1. Prepare the client based on service requirements. Log in to the node where the client is installed.

    Log in to the node where the client is installed. For details, see Installing a Client.

  2. Run the following command to go to the client installation directory:

    cd /opt/hadoopclient

  3. Run the following command to configure environment variables:

    source bigdata_env

  4. If multiple Storm instances are installed, run the following command to load the environment variables of a specific instance when running the Storm command to submit the topology. Otherwise, skip this step. The following command uses the instance Storm-2 as an example.

    source Storm-2/component_env

  5. Run the following command to perform user authentication (skip this step in normal mode):

    kinit Component service user

  6. Run the following command to perform operations on the client:

    For example, run the following command:
    • cql
    • storm

    A Storm client cannot be connected to secure and non-secure ZooKeepers at the same time.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel