Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7375

JobSubmissionFiles don't set right permission after mkdirs

    XMLWordPrintableJSON

Details

    Description

      JobSubmissionFiles provide getStagingDir to get Staging Directory.If stagingArea missing, method will create new directory with this.

      fs.mkdirs(stagingArea, new FsPermission(JOB_DIR_PERMISSION));

      It seems create new directory with JOB_DIR_PERMISSION,but this permission will be apply by umask.If umask too strict , this permission may be 000(if umask is 700).So we should change permission after create.

      Attachments

        1. MAPREDUCE-7375.patch
          3 kB
          Zhang Dongsheng

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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