Configuring the duration that IBM Spectrum Symphony waits before considering a YARN node manager unavailable

Change the default duration that the system waits before considering a node manager unavailable.

Procedure

When a YARN node manager process is down, the IBM® Spectrum Symphony command line or the cluster management console may still show this node as running. To prevent the node from being displayed as running, change the default duration that the system waits before considering a node is unavailable, in the YARN configuration file (yarn-site.xml).

  1. Modify $HADOOP_CONF_DIR/yarn-site.xml to change the yarn.nm.liveness-monitor.expiry-interval-ms property.

    Specify the value in milliseconds. The default value is 10 minutes (600000 milliseconds). For example, to change the duration to 15 minutes, specify a value of 900000:

    <property>
        <name>yarn.nm.liveness-monitor.expiry-interval-ms</name>
        <value>900000</value>
      </property>
    
  2. Restart the EGOYARN service:
    egosh service stop EGOYARN
    egosh service start EGOYARN