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

Clean up how dfs.cluster.administrators is handled wrt user/group creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None

    Description

      dfs.cluster.administrators handles values of the following format:

      CL for the admins, this configuration is used to control who can access the default servlets in the namenode, etc. The value should be a comma separated list of users and groups. The user list comes first and is separated by a space followed by the group list, e.g. "user1,user2 group1,group2". Both users and groups are optional, so "user1", " group1", "", "user1 group1", "user1,user2 group1,group2" are all valid (note the leading space in " group1"). '' grants access to all users and groups, e.g. '', '* ' and ' *' are all valid.

      Ambari cannot handle * value correctly it will try to create a group or user
      named '*'.
      Also Ambari cannot correctly create groups if there are multiple spaces
      instead of one.

      Attachments

        1. AMBARI-19087.patch
          1 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: