container-executor.cfg 1.9 KB

12345678910111213141516171819202122232425
  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 seperated 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 seperated list of devices that can be mounted into a container
  12. # docker.allowed.networks=## comma seperated networks that can be used. e.g bridge,host,none
  13. # docker.allowed.ro-mounts=## comma seperated volumes that can be mounted as read-only
  14. # docker.allowed.rw-mounts=## comma seperate 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 seperated 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 seperated 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.