Help Center/
MapReduce Service/
User Guide (Ankara Region)/
FAQs/
Cluster Management/
How Do I Configure the knox Memory?
Updated on 2024-11-29 GMT+08:00
How Do I Configure the knox Memory?
- Log in to a Master node of the cluster as user root.
- Run the following command on the Master node to open the gateway.sh file:
su omm
vim /opt/knox/bin/gateway.sh
- Change APP_MEM_OPTS="" to APP_MEM_OPTS="-Xms256m -Xmx768m", save the file, and exit.
- Run the following command on the Master node to restart the knox process:
sh /opt/knox/bin/gateway.sh stop
sh /opt/knox/bin/gateway.sh start
- Repeat the preceding steps on each Master node.
- Run the ps -ef |grep knox command to check the configured memory.
Figure 1 knox memory
Parent topic: Cluster Management
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot