Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ MapReduce Service/ FAQs/ Cluster Management/ How Do I Configure the knox Memory?

How Do I Configure the knox Memory?

Updated on 2022-09-14 GMT+08:00
  1. Log in to a Master node of the cluster as user root.
  2. Run the following command on the Master node to open the gateway.sh file:

    su omm

    vim /opt/knox/bin/gateway.sh

  3. Change APP_MEM_OPTS="" to APP_MEM_OPTS="-Xms256m -Xmx768m", save the file, and exit.
  4. 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

  5. Repeat the preceding steps on each Master node.
  6. Run the ps -ef |grep knox command to check the configured memory.

    Figure 1 knox memory

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback