Querying Storm Topology Logs
Scenario
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 Debug 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 stormadmin group.
Prerequisites
- The network of the working environment has been configured.
- The sampling function has been enabled for the topology.
Querying Worker Process Logs
- For details about how to access the Storm WebUI, see Accessing the Storm Web UI.
- In the Topology Summary area, click the desired topology to view details.
- Click the desired Spouts or Bolts task. In the Executors (All time) area, click a port in Port to view detailed logs.
Querying Data Processing Logs of a Topology
- For details about how to access the Storm WebUI, see Accessing the Storm Web UI.
- In the Topology Summary area, click the desired topology to view details.
- Click Debug, specify the data sampling ratio, and click OK.
- Click the Spouts or Bolts task. In Component summary, click events to view data processing logs.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot