• MapReduce Service

mrs
  1. Help Center
  2. MapReduce Service
  3. User Guide
  4. Using MRS
  5. Using Flume
  6. Stopping or Uninstalling the Flume Client

Stopping or Uninstalling the Flume Client

Scenario

This section describes how to stop and start the Flume client as well as uninstall it when the Flume data collection channel is not required.

Procedure

  • Stopping the Flume client

Suppose the installation path of the Flume client is /opt/FlumeClient. Run the following command to stop the Flume client:

cd /opt/FlumeClient/fusioninsight-flume-1.6.0/bin

./flume-manage.sh stop

If the following information is displayed after the command execution, the Flume client is successfully stopped.

Stop Flume PID=120689 successful..
NOTE:

The Flume client will be automatically restarted after being stopped. If you do not need automatic restart, run the following command:

./flume-manage.sh stop force

If you want to restart the Flume client, run the following command:

./flume-manage.sh start force

  • Uninstalling the Flume client

Suppose the installation path of the Flume client is /opt/FlumeClient. Run the following command to uninstall the Flume client:

cd /opt/FlumeClient/fusioninsight-flume-1.6.0/inst

./uninstall.sh