Uploaded image for project: 'Ambari (Retired)'
  1. Ambari (Retired)
  2. AMBARI-18434

Fix upgrade configs for storm-site

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • ambari-server
    • None

    Description

      Upgrade configs in config-upgrade.xml in hdp_2_5_0_0_add_storm_security_configs definition for HDP 2.3 & HDP 2.4 for storm-site are not correct, since there are three config properties to be set, but only one of them will be set, the first which meets the condition:

       <definition xsi:type="configure" id="hdp_2_5_0_0_add_storm_security_configs">
                  <condition type="cluster-env" key="security_enabled" value="true">
                    <type>storm-site</type>
                    <key>nimbus.impersonation.authorizer</key>
                    <value>org.apache.storm.security.auth.authorizer.ImpersonationAuthorizer</value>
                  </condition>
                  <condition type="cluster-env" key="security_enabled" value="true">
                    <type>storm-site</type>
                    <key>nimbus.impersonation.acl</key>
                    <value>"{ {{storm_bare_jaas_principal}} : {hosts: ['*'], groups: ['*']}}"</value>
                  </condition>
                  <condition type="cluster-env" key="security_enabled" value="true">
                    <type>storm-site</type>
                    <key>nimbus.admins</key>
                    <value>"['{{storm_bare_jaas_principal}}', '{{ambari_bare_jaas_principal}}']"</value>
                  </condition>
                </definition>
      

      Attachments

        1. AMBARI-18434.patch
          5 kB
          Magyari Sandor Szilard

        Issue Links

          Activity

            People

              smagyari Magyari Sandor Szilard
              smagyari Magyari Sandor Szilard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: