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

This commit is contained in:
Akira Ajisaka 2020-04-01 16:05:47 +09:00
parent c734d247b1
commit c162648aff
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