From 6d7f01c92dcbf22356bb813359081944f684a9c4 Mon Sep 17 00:00:00 2001 From: Eric Badger Date: Mon, 26 Aug 2019 16:12:35 +0000 Subject: [PATCH] YARN-9771. Add GPU in the container-executor.cfg example. Contributed by Julia Kinga Marton --- hadoop-yarn-project/hadoop-yarn/conf/container-executor.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/conf/container-executor.cfg b/hadoop-yarn-project/hadoop-yarn/conf/container-executor.cfg index e0767a40265..0678acc7198 100644 --- a/hadoop-yarn-project/hadoop-yarn/conf/container-executor.cfg +++ b/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. \ No newline at end of file +# 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 \ No newline at end of file