From a2f4dcb470c7f2cd38b26591999b6e2860248bd8 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 1 Apr 2020 16:05:47 +0900 Subject: [PATCH] YARN-10202. Fix documentation about NodeAttributes. Contributed by Sen Zhao. (cherry picked from commit c162648aff68552d87db8a013b850c17fee762c0) --- .../hadoop-yarn-site/src/site/markdown/NodeAttributes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeAttributes.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeAttributes.md index 51280043b70..b733384c303 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeAttributes.md +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeAttributes.md @@ -127,7 +127,9 @@ Here is an example for creating a Scheduling Request object with NodeAttribute e .build(); The above SchedulingRequest requests for 1 container on nodes that must satisfy following constraints: + 1. Node attribute *`rm.yarn.io/python`* doesn't exist on the node or it exist but its value is not equal to 3 + 2. Node attribute *`rm.yarn.io/java`* must exist on the node and its value is equal to 1.8