Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-4412

TezCommonUtils should ensure that permissions are properly granted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.3, 0.10.3
    • None
    • None

    Description

      I found TezClientUtils has method ensureStagingDirExists.It will check whether the path "stagingArea" exists, if it exists, check the permission, if not, call the function "TezCommonUtils.mkDirForAM" to create.But in method mkDirForAM,it use mkdir(path, permission) to create, if umask too strict such as 777,this directory will set with 000 permission.So we need to ensure the directory has right permission.

      Attachments

        1. TEZ-4412.patch
          1.0 kB
          Zhang Dongsheng

        Issue Links

          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 50m
                  2h 50m