YARN-8288. Fix wrong number of table columns in Resource Model doc. Contributed by Weiwei Yang.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/2af3970d Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/2af3970d Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/2af3970d Branch: refs/heads/HDDS-4 Commit: 2af3970dd74a35fb41b4042a18574d1ea8f28d60 Parents: 82e41a3 Author: Naganarasimha <[email protected]> Authored: Tue May 15 00:03:38 2018 +0800 Committer: Xiaoyu Yao <[email protected]> Committed: Mon May 14 10:31:09 2018 -0700 ---------------------------------------------------------------------- .../hadoop-yarn-site/src/site/markdown/ResourceModel.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/2af3970d/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceModel.md ---------------------------------------------------------------------- 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 75e5c92..f968b5f 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 @@ -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. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
