After you install the required software and enable the required configuration
parameters listed as prerequisites for using the device plug-in, configure the
yarn.nodemanager.pluggable-device-framework.enabled
parameter in the
yarn-site.xml
file.
- To enable the device plug-in, set the following property in the
/etc/hadoop/conf/yarn-site.xml
file on the ResourceManager
host:
<property>
<name>yarn.nodemanager.pluggable-device-framework.enabled</name>
<value>true</value>
</property>
-
To enable the isolation native module, set the following property in the
container-executor.cfg
file.
<property>
<name>module.enabled </name>
<value>true</value>
</property>