Updated on 2024-10-24 GMT+08:00

Using the Encryption Tool of the Flume Client

You can use the encryption tool provided by the Flume client to encrypt some parameter values in the configuration file.

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

    cd fusioninsight-flume-Flume component version number/bin

  4. Run the following command to encrypt information:

    ./genPwFile.sh

    Input the information that you want to encrypt twice.

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

    cat password.property

    If the encryption parameter is used for the Flume server, you need to perform encryption on the corresponding Flume server node. You need to run the encryption script as user omm for encryption.

    • For versions earlier than MRS 3.x, the encryption path is /opt/Bigdata/MRS_XXX/install/FusionInsight-Flume-Flume component version number/flume/bin/genPwFile.sh.
    • For MRS 3.x or later, the encryption path is /opt/Bigdata/FusionInsight_Porter_XXX/install/FusionInsight-Flume-Flume component version number/flume/bin/genPwFile.sh. XXX indicates the product version number.