Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
Description
Configuration keys in Kerberos descriptors should allow for variable replacement. For example a typical configurations block may look like
"configurations" : [ "core-site": { "hadoop.proxyuser.hive.groups":"${hadoop-env/proxyuser_group}" }, "hive-site": { ..... }, "webhcat-site": { .... } ]
However some configuration keys need to be dynamically generated and should be generated using the existing variable replacement feature in org.apache.ambari.server.state.kerberos.AbstractKerberosDescriptor. For example:
"configurations": [ "core-site": { "hadoop.proxyuser.${hive-env/hive_user}.groups":"${hadoop-env/proxyuser_group}" }, "hive-site": { ..... }, "webhcat-site": { .... } ]
The configuration key hadoop.proxyuser.${hive-env/hive_user}.groups should be processed such that ${hive-env/hive_user} is replaced some value like hive to yield hadoop.proxyuser.hive.groups
Attachments
Attachments
Issue Links
- links to