Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-11117

LeveldbRMStateStore will not set to correct permissions

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        1. YARN-11117-1.patch
          1 kB
          Zhang Dongsheng

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skysider Zhang Dongsheng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m