ソースを参照

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

Eric Badger 5 年 前
コミット
6d7f01c92d

+ 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