• MapReduce Service

mrs
  1. Help Center
  2. MapReduce Service
  3. User Guide
  4. Using MRS
  5. Using Flume
  6. Using the Encryption Tool of the Flume Client

Using the Encryption Tool of the Flume Client

Scenario

The Flume client provides an encryption tool to encrypt some parameter values in the configuration file.

Prerequisites

You have installed the Flume client.

Procedure

  1. Log in to the Flume client node and go to the client installation directory, for example, /opt/FlumeClient.
  2. Run the following command to switch the directory:

    cd fusioninsight-flume-1.6.0/bin

  3. Run the following command to encrypt information:

    ./genPwFile.sh

    Input the information that you want to encrypt twice.

  4. Run the following command to query the encrypted information:

    cat password.property

    NOTE:

    If the encryption parameter is used for the Flume server, you need to perform encryption on the corresponding Flume server node. The path for the encryption script is /opt/Bigdata/FusionInsight/FusionInsight-Flume-1.6.0/flume/bin/genPwFile.sh. Execute the encryption script as user omm.