Browse Source

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

(cherry picked from commit c162648aff68552d87db8a013b850c17fee762c0)
Akira Ajisaka 5 years ago
parent
commit
6d5f87b228

+ 2 - 0
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