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>
26 lines
5.5 KiB
HTML
26 lines
5.5 KiB
HTML
<a name="mrs_01_0383"></a><a name="mrs_01_0383"></a>
|
|
|
|
<h1 class="topictitle1">Managing Storm Topologies</h1>
|
|
<div id="body1589421630474"><div class="section" id="mrs_01_0383__s36001f2f8ab047789a88f6e3f8ab1c1e"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0383__a26d83fdfc160460799dc9c2c1757e9f5">You can manage Storm topologies on the Storm web UI. Users in the <span class="parmname" id="mrs_01_0383__parmname199750835716103"><b>storm</b></span> group can manage only the topology tasks submitted by themselves, while users in the <span class="parmname" id="mrs_01_0383__parmname57890264016103"><b>stormadmin</b></span> group can manage all topology tasks.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_0383__s6a9fafb5594347969e100f5fa885a5f5"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_0383__oc58178e63640481a984bb1ac075d879c"><li id="mrs_01_0383__lbb39ff75cdf04b35a2fec8ad4bfad6c3"><span>For details about how to access the Storm WebUI, see <a href="mrs_01_0382.html">Accessing the Storm Web UI</a>.</span></li><li id="mrs_01_0383__en-us_topic_0053981411_li36203121778"><span>In the <span class="parmname" id="mrs_01_0383__en-us_topic_0053981411_parmname1920743372161424"><b>Topology summary</b></span> area, click the desired topology. </span></li><li id="mrs_01_0383__lbad284004ae440b0b8fc6a340b4ebbe4"><span>Use options in <span class="parmname" id="mrs_01_0383__en-us_topic_0053981411_parmname168952545116150"><b>Topology actions</b></span> to manage the Storm topology.</span><p><ul id="mrs_01_0383__u03ad6909ddc5404abb7eba72a25df770"><li id="mrs_01_0383__le083d58f2be147bc8c21b42d9eac0b0b">Activating a topology<p id="mrs_01_0383__a3fdbd43ef7a344a7b50b840901db07e5"><a name="mrs_01_0383__le083d58f2be147bc8c21b42d9eac0b0b"></a><a name="le083d58f2be147bc8c21b42d9eac0b0b"></a>Click <span class="uicontrol" id="mrs_01_0383__en-us_topic_0053981411_uicontrol1094983201161531"><b>Activate</b></span> to activate the topology.</p>
|
|
</li><li id="mrs_01_0383__l6f961008be1d4337954d4a3a5d46ed9d">Deactivating a topology<p id="mrs_01_0383__en-us_topic_0053981411_p558108316153"><a name="mrs_01_0383__l6f961008be1d4337954d4a3a5d46ed9d"></a><a name="l6f961008be1d4337954d4a3a5d46ed9d"></a>Click <span class="uicontrol" id="mrs_01_0383__uicontrol767512312"><b>Deactivate</b></span> to deactivate the topology.</p>
|
|
</li><li id="mrs_01_0383__lf0f69606c2b1416998d034e03bc623ac">Re-deploying a topology<p id="mrs_01_0383__ac8310e17cd844aaf8b374d851b6e2231"><a name="mrs_01_0383__lf0f69606c2b1416998d034e03bc623ac"></a><a name="lf0f69606c2b1416998d034e03bc623ac"></a>Click <span class="uicontrol" id="mrs_01_0383__en-us_topic_0053981411_uicontrol1705158346161736"><b>Rebalance</b></span> and specify the wait time (in seconds) of re-deployment. Generally, if the number of nodes in a cluster changes, the topology can be re-deployed to maximize resource usage.</p>
|
|
</li><li id="mrs_01_0383__l2958b6584adc40f68d97c260d4f13593">Deleting a topology<p id="mrs_01_0383__a7a9687d7981e49a3b33236dd939b49f3"><a name="mrs_01_0383__l2958b6584adc40f68d97c260d4f13593"></a><a name="l2958b6584adc40f68d97c260d4f13593"></a>Click <span class="uicontrol" id="mrs_01_0383__uicontrol70192250"><b>Kill</b></span> and specify the wait time (in seconds) of the deletion.</p>
|
|
</li><li id="mrs_01_0383__lb7106bc24ad84ce1b544f16788101ae5">Starting or stopping sampling messages<p id="mrs_01_0383__ab26eea6445e14b95b5debca025fabb1f"><a name="mrs_01_0383__lb7106bc24ad84ce1b544f16788101ae5"></a><a name="lb7106bc24ad84ce1b544f16788101ae5"></a>Click <span class="uicontrol" id="mrs_01_0383__en-us_topic_0053981411_uicontrol1603503358175559"><b>Debug</b></span>. In the dialog box displayed, specify the percentage of the sampled data volume. For example, if the value is set to <span class="parmvalue" id="mrs_01_0383__en-us_topic_0053981411_parmvalue1701320689175658"><b>10</b></span>, 10% of data is sampled.</p>
|
|
<p id="mrs_01_0383__a91d16084293f4121a7c5127243fbcbd0">To stop sampling, click <span class="uicontrol" id="mrs_01_0383__en-us_topic_0053981411_uicontrol110819600417228"><b>Stop Debug</b></span>.</p>
|
|
<div class="note" id="mrs_01_0383__na56193fa83b5403eaac4909debad8827"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_0383__a0ae71d35a67e4f1d95320a7061a9de2b">This function is available only if the sampling function is enabled when the topology is submitted. For details about querying data processing information, see <a href="mrs_01_0384.html">Querying Storm Topology Logs</a>.</p>
|
|
</div></div>
|
|
</li><li id="mrs_01_0383__lcbe99bdad9184735afdfdea304626a4a">Modifying the topology log level<p id="mrs_01_0383__a484899472a534322ae3a01206120dd03"><a name="mrs_01_0383__lcbe99bdad9184735afdfdea304626a4a"></a><a name="lcbe99bdad9184735afdfdea304626a4a"></a>Click <span class="uicontrol" id="mrs_01_0383__en-us_topic_0053981411_uicontrol302617218162340"><b>Change Log Level</b></span> to specify a new log level.</p>
|
|
</li></ul>
|
|
</p></li><li id="mrs_01_0383__l97377e536d674653b2f5b1cbf3b76619"><span>Displaying a topology</span><p><p id="mrs_01_0383__a0771b6e1db184a8b982963af5c99bc18">In the <span class="parmname" id="mrs_01_0383__en-us_topic_0053981411_parmname2015399294162822"><b>Topology Visualization</b></span> area, click <span class="uicontrol" id="mrs_01_0383__en-us_topic_0053981411_uicontrol1129668742162830"><b>Show Visualization</b></span> to visualize the topology.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0380.html">Using Storm</a></div>
|
|
</div>
|
|
</div>
|
|
|