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

Ambari should not reset UIDs for existing users in a cluster

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.2
    • Component/s: stacks
    • Labels:
      None

      Description

      If a user wishes to set the UIDs for the users in an HDP cluster, due to some internal security requirements or standards, problems with rolling upgrades can occur, since the upgrade process will create files and directories with a UID of "1001" for "ambari-qa", even if the user had already set the UID for this user to a different value.
      The setup_users() method in the following stack script:
      ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py
      will always override the UID of a given cluster user, even if the customer has already customized this.
      The shared initialization scripts should check to see if a user has already been created with a separate UID, and provide a way to skip the process of setting the new UID. The Ambari scripts set the UID in order to comply with Hadoop and Kerberos standards, so any attempt to override this behavior should provide some config logging

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsen Dmytro Sen
                Reporter:
                dsen Dmytro Sen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: