hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Halper(Arge)" <Manfred.Hal...@x5h.eu>
Subject Re: Access to yarn application log files for different user or group
Date Thu, 20 Jul 2017 16:14:09 GMT
I just realized that this problem is solved in version 2.9 and version
3.0 alpha 1 to 4. There you can set in yarn-site.xml the following
parameter yarn.nodemanager.default-container-executor.log-dirs.permissions.

I guess i will have to solve my problem with a bash script until the
version 2.9 is released hopefully November.

Am 19.07.2017 um 12:07 schrieb hadoop@x5h.eu:
> Hello,
> I currently try to access the application log files from yarn
> automatically. Yarn produces log files in the folder
> /userlogs/applicationid/containerid/*.log. The problem I have is, that
> the generated application and container directories are constructed with
> a specific umask (067) that I can't seem to change. If I set acl the log
> files get the correct permission but the directories stay the same. It
> seems that the process that creates the application log directories uses
> a mask::--x and therefore overrules my acl.
> I want to automatically comb through the log directories but with these
> default permissions set by hadoop I can't.
> What do I have to change so that the log directories log for
> applications are readable for a specific group or user on that system?
> Cheers,
> Manfred.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: user-help@hadoop.apache.org

View raw message