Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21116

Setting yarn.node-labels.fs-store.root-dir to a "path" changes the permission of the "root path"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      1. Set the following configs to run nodeLabels test via Ambari Rest Call

       yarnProperties = {'yarn.acl.enable': 'true',
                            'yarn.node-labels.enabled' : "True",
                            'yarn.node-labels.fs-store.root-dir': NODE_LABEL_STORE_DIR,
                            'yarn.admin.acl': yarn_user + ',' + qa_user}
      

      where NODE_LABEL_STORE_DIR = "/tmp/node-labels"
      2Restart ResourceManager and NodeManagers via ambari
      3. After running these commands, /tmp directory's permission changes to
      [drwx------ - yarn hadoop] from [drwxrwxrwx - hdfs hadoop] causing other tests to fail since it cannot access /tmp

      Attachments

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              ssathish@hortonworks.com Sumana Sathish
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: