Hadoop YARN
  1. Hadoop YARN
  2. YARN-87

NM ResourceLocalizationService does not set permissions of local cache directories

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha, 0.23.3
    • Component/s: nodemanager
    • Labels:
      None

      Description

      ResourceLocalizationService creates a file cache and user cache directory when it starts up but doesn't specify the permissions for them when they are created. If the cluster configs are set to limit the default permissions (e.g.: fs.permissions.umask-mode=0077 instead of the default 0022), then the cache directories are created with too-restrictive permissions and no jobs are able to run.

        Issue Links

          Activity

          Jason Lowe created issue -
          Jason Lowe made changes -
          Field Original Value New Value
          Summary NM ResourceLocalizationService can fail to create NM ResourceLocalizationService does not set permissions of local cache directories
          Jason Lowe made changes -
          Attachment YARN-87.patch [ 12543938 ]
          Jason Lowe made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 2.2.0-alpha [ 12322548 ]
          Fix Version/s 0.23.3 [ 12322841 ]
          Thomas Graves made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jason Lowe made changes -
          Link This issue is related to YARN-88 [ YARN-88 ]
          Arun C Murthy made changes -
          Affects Version/s 2.0.0-alpha [ 12323271 ]
          Affects Version/s 2.1.0-alpha [ 12322547 ]
          Jason Lowe made changes -
          Link This issue is related to YARN-108 [ YARN-108 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Jason Lowe
              Reporter:
              Jason Lowe
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development