forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
28 lines
3.6 KiB
HTML
28 lines
3.6 KiB
HTML
<a name="mrs_01_0394"></a><a name="mrs_01_0394"></a>
|
|
|
|
<h1 class="topictitle1">Stopping or Uninstalling the Flume Client</h1>
|
|
<div id="body1589421630494"><div class="section" id="mrs_01_0394__s55c24d727b874ee6abd0f7f03b68c7b1"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0394__ae4ba8711a2244dc9bcfba4e5f030ecfc">You can stop and start the Flume client or uninstall the Flume client when the Flume data ingestion channel is not required.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_0394__s07beb52489454bce883d8062608a73da"><h4 class="sectiontitle">Procedure</h4><ul id="mrs_01_0394__uaffa8fc3f37844049d2738b41bcca7df"><li id="mrs_01_0394__l013f2ad36dff423dbe7a7a5bf61fb23a">Stop the Flume client of the Flume role.<p id="mrs_01_0394__adc7cda9ca0b2413c87f9aeed0e91466e"><a name="mrs_01_0394__l013f2ad36dff423dbe7a7a5bf61fb23a"></a><a name="l013f2ad36dff423dbe7a7a5bf61fb23a"></a>Assume that the Flume client installation path is <span class="filepath" id="mrs_01_0394__f980c77b0732d47219258984687c7d2e6"><b>/opt/FlumeClient</b></span>. Run the following command to stop the Flume client:</p>
|
|
<p id="mrs_01_0394__acec5b3d42b904d5bbf409b3c63687516"><strong id="mrs_01_0394__b56433394712">cd /opt/FlumeClient/fusioninsight-flume-</strong><em id="mrs_01_0394__i096915813471">Flume component version number</em><strong id="mrs_01_0394__b104273712473">/bin</strong></p>
|
|
<p id="mrs_01_0394__ae4d501b35cd04455acc6da1bafeefad4"><strong id="mrs_01_0394__a23f3cb9818044ae1acc175392d7afe6e">./flume-manage.sh stop</strong></p>
|
|
<p id="mrs_01_0394__a811b4b35206044e9b6ec3d3727bf12e4">If the following information is displayed after the command execution, the Flume client is successfully stopped.</p>
|
|
<pre class="screen" id="mrs_01_0394__s3333d84eda774049a8f3e985989945f7">Stop Flume PID=120689 successful..</pre>
|
|
<div class="note" id="mrs_01_0394__nb674489307fb4c658ef26598dcb24633"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_0394__ad8c4beb14d744f5a86018c1a5d8afc43">The Flume client will be automatically restarted after being stopped. If you do not need automatic restart, run the following command:</p>
|
|
<p id="mrs_01_0394__abadbb04224be4dc29014808c8cbc5c59"><strong id="mrs_01_0394__ad15edeeea1264931bd716cbb1c1402d6">./flume-manage.sh stop force</strong></p>
|
|
<p id="mrs_01_0394__ac1f40a3f46894759a1ad48a2fc69a1a2">If you want to restart the Flume client, run the following command:</p>
|
|
<p id="mrs_01_0394__aad8aac5c149c401195b671e5ed390de8"><strong id="mrs_01_0394__aa986340e513148c89402eff912e36170">./flume-manage.sh start force</strong></p>
|
|
</div></div>
|
|
</li><li id="mrs_01_0394__li527145122611">Uninstall the Flume client of the Flume role.<p id="mrs_01_0394__ad07873505cd944c4937bd8312969eab9"><a name="mrs_01_0394__li527145122611"></a><a name="li527145122611"></a>Assume that the Flume client installation path is <span class="filepath" id="mrs_01_0394__f03986b7fba794e1585636842ea66893c"><b>/opt/FlumeClient</b></span>. Run the following command to uninstall the Flume client:</p>
|
|
<p id="mrs_01_0394__ab73ad2304535498681e9ae126d7d370a"><strong id="mrs_01_0394__b151951415124714">cd /opt/FlumeClient/fusioninsight-flume-</strong><em id="mrs_01_0394__i9223528184712">Flume component version number</em><strong id="mrs_01_0394__b124751718204712">/inst</strong></p>
|
|
<p id="mrs_01_0394__a928a734b4e3e453ab102d102ec4e282d"><strong id="mrs_01_0394__a9251ae4e913b4ea0b417ba10639f10be">./uninstall.sh</strong></p>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0390.html">Using Flume</a></div>
|
|
</div>
|
|
</div>
|
|
|