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.
Suppose the installation path of the Flume client is /opt/FlumeClient. Run the following command to stop the Flume client:
If the following information is displayed after the command execution, the Flume client is successfully stopped.
Stop Flume PID=120689 successful..
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
Suppose the installation path of the Flume client is /opt/FlumeClient. Run the following command to uninstall the Flume client: