You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Zhang Dongsheng (Jira)" <ji...@apache.org> on 2022/04/28 04:36:00 UTC

[jira] [Created] (YARN-11117) LeveldbRMStateStore will not set to correct permissions

Zhang Dongsheng created YARN-11117:
--------------------------------------

             Summary: LeveldbRMStateStore will not set to correct permissions
                 Key: YARN-11117
                 URL: https://issues.apache.org/jira/browse/YARN-11117
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
    Affects Versions: 3.3.2
            Reporter: Zhang Dongsheng


LeveldbRMStateStore use fs.mkdirs(root,new FsPermission((short)0700));  to create root directory with permission 700.BUT if umask is too strict such as 0777, this directory will have wrong permission with 000. So it should check if umask can affect permission, if true , use setPermission to fix it



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org