An Error Is Reported When a Yarn Client Command Is Used to Query Historical Jobs
Symptom
When a Yarn client command is executed to query historical jobs, the following error is reported and the process is terminated.
Cause Analysis
The memory allocated to the client is insufficient. As a result, an error is reported when the command is submitted.
Procedure
- Log in to the node where the HDFS client is installed as user root.
- Run the following command to edit the file:
vim /opt/client/HDFS/component_env
- Increase the value of export GC_OPTS_HDFS, for example, to Xmx512m.
- Save the file.
- Run the following command to reload the environment variables:
source bigdata_env
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