浏览代码

YARN-9771. Add GPU in the container-executor.cfg example. Contributed by Julia Kinga Marton

Eric Badger 5 年之前
父节点
当前提交
6d7f01c92d
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      hadoop-yarn-project/hadoop-yarn/conf/container-executor.cfg

+ 5 - 1
hadoop-yarn-project/hadoop-yarn/conf/container-executor.cfg

@@ -27,4 +27,8 @@ feature.tc.enabled=false
 # The configs below deal with settings for resource handled by pluggable device plugin framework
 #[devices]
 #  module.enabled=## Enable/Disable the device resource handler module for isolation. Disabled by default.
-#  devices.denied-numbers=## Blacklisted devices not permitted to use. The format is comma separated "majorNumber:minorNumber". For instance, "195:1,195:2". Leave it empty means default devices reported by device plugin are all allowed.
+#  devices.denied-numbers=## Blacklisted devices not permitted to use. The format is comma separated "majorNumber:minorNumber". For instance, "195:1,195:2". Leave it empty means default devices reported by device plugin are all allowed.
+
+# The configs below deal with settings for GPU resource
+#[gpu]
+#  module.enabled=## Enable/Disable GPU resource handler module. Set to "true" to enable, disabled by default