Internal Server Error Is Displayed When the User Queries Information on the UI
Symptom
An MRS cluster is installed, and ZooKeeper and Storm are installed in the cluster.
"Internal Server Error" is displayed when a user accesses information from the Storm Status page of MRS Manager.
The detailed information is as follows:
Internal Server Error org.apache.thrift7.transport.TTransportException: Frame size (306030) larger than max length (1048576)!
Possible Causes
- Nimbus of Storm is abnormal.
- Storm cluster information exceeds the default Thrift transmission size.
Cause Analysis
- Check the Storm service status and monitoring metrics:
- MRS Manager: Log in to MRS Manager and choose Services > Storm. Check the Storm status. The status is Good, and the monitoring metrics are correctly displayed.
- FusionInsight Manager: Log in to FusionInsight Manager and choose Cluster > Name of the target cluster > Service > Storm.
Check the Storm status. It is found that the status is good and the monitoring metrics are correctly displayed.
- Click the Instance tab and check the status of the Nimbus instance. The status is normal.
- Check the Thrift configuration of the Storm cluster. It is found that nimbus.thrift.max_buffer_size is set to 1048576 (1 MB).
- The preceding configuration is the same as that in the exception information, indicating that the buffer size of Thrift is less than that required by the cluster information.
Procedure
Adjust the Thrift buffer size of the Storm cluster.
- Access the Storm parameter configuration page.
- MRS Manager: Log in to MRS Manager, choose Services > Storm > Service Configuration, and select All from the Type drop-down list.
- Operation on FusionInsight Manager: Log in to FusionInsight Manager and choose Cluster > Services > Yarn > Configurations > All Configurations.
- Change the value of nimbus.thrift.max_buffer_size to 10485760 (10 MB).
- Click Save Configuration and select Restart the affected services or instances. Click OK to restart the services.
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