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

Add conditional constraints for Kerberos identities to control when they are created

    XMLWordPrintableJSON

Details

    Description

      Add conditional constraints for Kerberos identities to control when they are created. For example if Kerberos Identity should only be created (and distributed) for a component when some other component or service is installed.

      An example of this would be

      {
        "name": "/HIVE/HIVE_SERVER/hive_server_hive",
        "principal": {
          "configuration": "hive-interactive-site/hive.llap.daemon.service.principal"
        },
        "keytab": {
          "configuration": "hive-interactive-site/hive.llap.daemon.keytab.file"
        },
        "when" : {
            "contains" : ["services", "HIVE"]
        }
      }
      

      Note the "when" clause. This indicates that this identity should only be processed when the set of services contains "HIVE". An alternative to this would be to test the set of components for a certain component.

      Attachments

        1. AMBARI-16437_trunk_01.patch
          112 kB
          Robert Levas
        2. AMBARI-16437_trunk_02.patch
          113 kB
          Robert Levas
        3. AMBARI-16437_trunk_03.patch
          114 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: