YARN-10202. Fix documentation about NodeAttributes. Contributed by Sen Zhao.

(cherry picked from commit c162648aff)
This commit is contained in:
Akira Ajisaka 2020-04-01 16:05:47 +09:00
parent 10fe37b704
commit 6d5f87b228
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 2 additions and 0 deletions

View File

@ -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