From 2bbf1b4435ba700e6101d20d38302ff93ceac5b7 Mon Sep 17 00:00:00 2001 From: Wangda Tan Date: Tue, 22 May 2018 13:29:21 -0700 Subject: [PATCH] YARN-8332. Incorrect min/max allocation property name in resource types doc. (Weiwei Yang via wangda) Change-Id: If74f1ceed9c045a2cb2d6593741278b65ac44a9f (cherry picked from commit 83f53e5c6236de30c213dc41878cebfb02597e26) --- .../src/site/markdown/ResourceModel.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceModel.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceModel.md index f968b5fe6ba..ac16d531667 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceModel.md +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceModel.md @@ -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..units` | Default unit for the specified resource type | -| `yarn.resource-types..minimum` | The minimum request for the specified resource type | -| `yarn.resource-types..maximum` | The maximum request for the specified resource type | +| `yarn.resource-types..minimum-allocation` | The minimum request for the specified resource type | +| `yarn.resource-types..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..units`. Each defined resource may also have optional minimum and maximum properties. The properties -must be named `yarn.resource-types..minimum` and -`yarn.resource-types..maximum`. +must be named `yarn.resource-types..minimum-allocation` and +`yarn.resource-types..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 - yarn.resource-types.resource2.minimum + yarn.resource-types.resource2.minimum-allocation 1 - yarn.resource-types.resource2.maximum + yarn.resource-types.resource2.maximum-allocation 1024