Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
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>
2022-12-09 14:55:21 +00:00

19 lines
4.1 KiB
HTML

<a name="mrs_01_0384"></a><a name="mrs_01_0384"></a>
<h1 class="topictitle1">Querying Storm Topology Logs</h1>
<div id="body1589421630476"><div class="section" id="mrs_01_0384__s4e89ff6a9060490e9a01b802e8857525"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0384__a833facaa7c1c4da483ae9d77df2af724">You can query topology logs to check the execution of a Storm topology in a worker process. To query the data processing logs of a topology, enable the <span class="parmname" id="mrs_01_0384__en-us_topic_0053981410_parmname6820168999152"><b>Debug</b></span> function when submitting the topology. Only streaming clusters with Kerberos authentication enabled support this function. In addition, the user who queries topology logs must be the one who submits the topology or a member of the <span class="parmname" id="mrs_01_0384__parmname1271717117243"><b>stormadmin</b></span> group.</p>
</div>
<div class="section" id="mrs_01_0384__s45ba00aadc0b48cdb9090aa9d24f4928"><h4 class="sectiontitle">Prerequisites</h4><ul id="mrs_01_0384__u7af1211ebe754180a3200346e7306fd7"><li id="mrs_01_0384__l21e56cc41e164301b63f2a2cd23b5f7d">The network of the working environment has been configured.</li><li id="mrs_01_0384__lb0c20090dcea4864a7d29fa16683b1a1">The sampling function has been enabled for the topology.</li></ul>
</div>
<div class="section" id="mrs_01_0384__s9e285420b08640d084123f8c416aca68"><h4 class="sectiontitle">Querying Worker Process Logs</h4><ol id="mrs_01_0384__o0c31524dfbe64a848d03166e36043970"><li id="mrs_01_0384__l5fd5f8387fd645339b3e02216689fe68"><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_0384__l7d70a73181c042d58b25cdae0dd8a9ea"><span>In the <span class="parmname" id="mrs_01_0384__en-us_topic_0053981410_parmname199238340416217"><b>Topology Summary</b></span> area, click the desired topology to view details.</span></li><li id="mrs_01_0384__l1fc614d83cfc45f98145fefaaaec1d87"><span>Click the desired <span class="parmname" id="mrs_01_0384__en-us_topic_0053981410_parmname9115273916544"><b>Spouts</b></span> or <span class="parmname" id="mrs_01_0384__en-us_topic_0053981410_parmname70244802816544"><b>Bolts</b></span> task. In the <span class="parmname" id="mrs_01_0384__en-us_topic_0053981410_parmname8118812801665"><b>Executors (All time)</b></span> area, click a port in <span class="parmname" id="mrs_01_0384__en-us_topic_0053981410_parmname92322157916628"><b>Port</b></span> to view detailed logs.</span></li></ol>
</div>
<div class="section" id="mrs_01_0384__s0ffb38030e2a49ccb229939a92913f29"><h4 class="sectiontitle">Querying Data Processing Logs of a Topology</h4><ol id="mrs_01_0384__o2c54a3ebb3914f9e93f754000f2f9c49"><li id="mrs_01_0384__lc3c3969c3e1b445c83340e5340472d1e"><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_0384__l61368fe83a4148e4b3420e8d040225e3"><span>In the <span class="parmname" id="mrs_01_0384__parmname14655246566"><b>Topology Summary</b></span> area, click the desired topology to view details.</span></li><li id="mrs_01_0384__l348c85bb904948eb96ea0d36bcd01292"><span>Click <span class="uicontrol" id="mrs_01_0384__en-us_topic_0053981410_uicontrol3088490739715"><b>Debug</b></span>, specify the data sampling ratio, and click <span class="uicontrol" id="mrs_01_0384__en-us_topic_0053981410_uicontrol7039344889749"><b>OK</b></span>.</span></li><li id="mrs_01_0384__l5bf82fd85259456da32c96379d69c8ab"><span>Click the <span class="parmname" id="mrs_01_0384__en-us_topic_0053981410_parmname2115015311983"><b>Spouts</b></span> or <span class="parmname" id="mrs_01_0384__en-us_topic_0053981410_parmname1192583352983"><b>Bolts</b></span> task. In <span class="parmname" id="mrs_01_0384__en-us_topic_0053981410_parmname72769889818"><b>Component summary</b></span>, click <span class="uicontrol" id="mrs_01_0384__en-us_topic_0053981410_uicontrol16311492329839"><b>events</b></span> to view data processing logs.</span></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>