瀏覽代碼

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

(cherry picked from commit c162648aff68552d87db8a013b850c17fee762c0)
Akira Ajisaka 5 年之前
父節點
當前提交
6d5f87b228
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeAttributes.md

+ 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