YARN-8288. Fix wrong number of table columns in Resource Model doc. Contributed by Weiwei Yang.

(cherry picked from commit 8a2b5914f3)
This commit is contained in:
Naganarasimha 2018-05-15 00:03:38 +08:00
parent e6c607cc2c
commit 26e8fdffd6
1 changed files with 6 additions and 6 deletions

View File

@ -45,20 +45,20 @@ The following configuration properties are supported. See below for details.
`resource-types.xml`
| Configuration Property | Value | Description |
|:---- |:---- |:---- |
| Configuration Property | Description |
|:---- |:---- |
| `yarn.resource-types` | Comma-separated list of additional resources. May not include `memory`, `memory-mb`, or `vcores` |
| `yarn.resource-types.<resource>.units` | Default unit for the specified resource type |
| `yarn.resource-types.<resource>.minimum` | The minimum request for the specified resource type |
| `yarn.resource-types.<resource>.maximum` | The maximum request for the specified resource type |
`node­-resources.xml`
`node-resources.xml`
| Configuration Property | Value | Description |
|:---- |:---- |:---- |
| Configuration Property | Description |
|:---- |:---- |
| `yarn.nodemanager.resource-type.<resource>` | The count of the specified resource available from the node manager |
Please note that the `resource-types.xml` and `node­-resources.xml` files
Please note that the `resource-types.xml` and `node-resources.xml` files
also need to be placed in the same configuration directory as `yarn-site.xml` if
they are used. Alternatively, the properties may be placed into the
`yarn-site.xml` file instead.