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

Pre-configure services during stack upgrade if Kerberos is enabled to reduce number of core service restarts when services are added

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • ambari-server
    • None

    Description

      Pre-configure (certain) services during a stack upgrade to HDP 2.6, when Kerberos is enabled, to reduce number of core service restarts when services are added.

      Services to pre-configure include:

      • Knox
      • Beacon

      While upgrading the stack (EU or RU), processing the relevant Kerberos descriptor to find services marked to be pre-configured. When a tagged service is encountered, process it if it is not installed. Apply only configuration changes for existing configuration types. This will set at least the core-site changes related to proxyuser and auth-to-local rules properties. By doing this, if a tagged service is later installed, the settings will already be in place in the existing service configs and thus the existing services will not need to be restarted.

      Caveats:

      • Default values for the uninstalled, tagged, services will be assumed
      • The stack advisor will be used to suggest locations of components - used to build the clusterHostInfo structure that may be used to derive property values.

      Note: This processing is to occur when upgrading the stack from HDP 2.5 to HDP 2.6.

      Attachments

        1. AMBARI-21809_trunk_02.patch
          143 kB
          Robert Levas
        2. AMBARI-21809_trunk_01.patch
          143 kB
          Robert Levas
        3. AMBARI-21809_branch-2.6_02.patch
          141 kB
          Robert Levas
        4. AMBARI-21809_branch-2.6_01.patch
          141 kB
          Robert Levas

        Issue Links

          Activity

            People

              rlevas Robert Levas
              rlevas Robert Levas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: