Skip to main content
purple
Bronze ⭐️⭐️⭐️
Sep 29, 2022 1:37 AM UTC
Question

yarn modifies directory permissions

yarn aggregation log on hdfs when I FINISHED a job, the {yarn.nodemanager.remote-app-log-dir}/{user}/{yarn.nodemanager.remote-app-log-dir-sendix} directory permission is 770, I change the directory permission to 775.

But when I FINISHED a yarn job, it change the directory permission to 770 again.

Why would he happen? How to get it not to modify directory permissions.

1 reply

AyazHussain
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
Apr 22, 2024 4:58 AM UTC

Please check the umask that is set for the yarn directories.

Translate