YARN-8332. Incorrect min/max allocation property name in resource types doc. (Weiwei Yang via wangda)

Change-Id: If74f1ceed9c045a2cb2d6593741278b65ac44a9f
This commit is contained in:
Wangda Tan 2018-05-22 13:29:21 -07:00
parent bd15d2396e
commit 83f53e5c62
1 changed files with 6 additions and 6 deletions

View File

@ -49,8 +49,8 @@ The following configuration properties are supported. See below for details.
|:---- |:---- |
| `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 |
| `yarn.resource-types.<resource>.minimum-allocation` | The minimum request for the specified resource type |
| `yarn.resource-types.<resource>.maximum-allocation` | The maximum request for the specified resource type |
`node-resources.xml`
@ -127,8 +127,8 @@ set the default unit for the resource type. Valid values are:
The property must be named `yarn.resource-types.<resource>.units`. Each defined
resource may also have optional minimum and maximum properties. The properties
must be named `yarn.resource-types.<resource>.minimum` and
`yarn.resource-types.<resource>.maximum`.
must be named `yarn.resource-types.<resource>.minimum-allocation` and
`yarn.resource-types.<resource>.maximum-allocation`.
The `yarn.resource-types` property and any unit, mimimum, or maximum properties
may be defined in either the usual `yarn-site.xml` file or in a file named
@ -147,12 +147,12 @@ may be defined in either the usual `yarn-site.xml` file or in a file named
</property>
<property>
<name>yarn.resource-types.resource2.minimum</name>
<name>yarn.resource-types.resource2.minimum-allocation</name>
<value>1</value>
</property>
<property>
<name>yarn.resource-types.resource2.maximum</name>
<name>yarn.resource-types.resource2.maximum-allocation</name>
<value>1024</value>
</property>
</configuration>