YARN-10202. Fix documentation about NodeAttributes. Contributed by Sen Zhao.
(cherry picked from commit c162648aff
)
This commit is contained in:
parent
f7a94ec0a4
commit
a2f4dcb470
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user