container-executor.cfg 2.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. yarn.nodemanager.linux-container-executor.group=#configured value of yarn.nodemanager.linux-container-executor.group
  2. banned.users=#comma separated list of users who can not run applications
  3. min.user.id=1000#Prevent other super-users
  4. allowed.system.users=##comma separated list of system users who CAN run applications
  5. feature.tc.enabled=false
  6. # The configs below deal with settings for Docker
  7. #[docker]
  8. # module.enabled=## enable/disable the module. set to "true" to enable, disabled by default
  9. # docker.binary=/usr/bin/docker
  10. # docker.allowed.capabilities=## comma separated capabilities that can be granted, e.g CHOWN,DAC_OVERRIDE,FSETID,FOWNER,MKNOD,NET_RAW,SETGID,SETUID,SETFCAP,SETPCAP,NET_BIND_SERVICE,SYS_CHROOT,KILL,AUDIT_WRITE
  11. # docker.allowed.devices=## comma separated list of devices that can be mounted into a container
  12. # docker.allowed.networks=## comma separated networks that can be used. e.g bridge,host,none
  13. # docker.allowed.ro-mounts=## comma separated volumes that can be mounted as read-only
  14. # docker.allowed.rw-mounts=## comma separate volumes that can be mounted as read-write, add the yarn local and log dirs to this list to run Hadoop jobs
  15. # docker.privileged-containers.enabled=false
  16. # docker.allowed.volume-drivers=## comma separated list of allowed volume-drivers
  17. # docker.no-new-privileges.enabled=## enable/disable the no-new-privileges flag for docker run. Set to "true" to enable, disabled by default
  18. # docker.allowed.runtimes=## comma separated runtimes that can be used.
  19. # The configs below deal with settings for FPGA resource
  20. #[fpga]
  21. # module.enabled=## Enable/Disable the FPGA resource handler module. set to "true" to enable, disabled by default
  22. # fpga.major-device-number=## Major device number of FPGA, by default is 246. Strongly recommend setting this
  23. # fpga.allowed-device-minor-numbers=## Comma separated allowed minor device numbers, empty means all FPGA devices managed by YARN.
  24. # The configs below deal with settings for resource handled by pluggable device plugin framework
  25. #[devices]
  26. # module.enabled=## Enable/Disable the device resource handler module for isolation. Disabled by default.
  27. # 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.
  28. # The configs below deal with settings for GPU resource
  29. #[gpu]
  30. # module.enabled=## Enable/Disable GPU resource handler module. Set to "true" to enable, disabled by default