YARN-8908. Fix errors in yarn-default.xml related to GPU/FPGA. (Zhankun Tang via wangda)

Change-Id: I46f511a9b51b65b069e15d5b827530110c41edab
This commit is contained in:
Wangda Tan 2018-10-19 09:44:00 -07:00
parent cd057918d6
commit 071b9e19aa
2 changed files with 4 additions and 3 deletions

View File

@ -3787,7 +3787,7 @@
<description>
Enable additional discovery/isolation of resources on the NodeManager,
split by comma. By default, this is empty.
Acceptable values: { "yarn-io/gpu", "yarn-io/fpga"}.
Acceptable values: { "yarn.io/gpu", "yarn.io/fpga"}.
</description>
<name>yarn.nodemanager.resource-plugins</name>
<value></value>
@ -3868,9 +3868,10 @@
At present, since we can only configure one major number in c-e.cfg, FPGA device is
identified by their minor device number. A common approach to get minor
device number of FPGA is using "aocl diagnose" and check uevent with device name.
A sample manual value for this is like "0,1"
</description>
<name>yarn.nodemanager.resource-plugins.fpga.allowed-fpga-devices</name>
<value>0,1</value>
<value>auto</value>
</property>
<property>

View File

@ -53,7 +53,7 @@ Use following property to configure `DominantResourceCalculator` (In `capacity-s
```
<property>
<name>yarn.nodemanager.resource-plugins</name>
<value>yarn-io/fpga</value>
<value>yarn.io/fpga</value>
</property>
```