You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Robert Levas (JIRA)" <ji...@apache.org> on 2014/12/22 06:20:13 UTC
[jira] [Created] (AMBARI-8853) Configuration keys in Kerberos
descriptors should allow for variable replacement
Robert Levas created AMBARI-8853:
------------------------------------
Summary: Configuration keys in Kerberos descriptors should allow for variable replacement
Key: AMBARI-8853
URL: https://issues.apache.org/jira/browse/AMBARI-8853
Project: Ambari
Issue Type: Task
Components: ambari-server
Affects Versions: 2.0.0
Reporter: Robert Levas
Assignee: Robert Levas
Fix For: 2.0.0
Configuration keys in Kerberos descriptors should allow for variable replacement. For example a typical {{configurations}} block may look like
{code}
"configurations" : [
"core-site": {
"hadoop.proxyuser.hive.groups":"${hadoop-env/proxyuser_group}"
},
"hive-site": {
.....
},
"webhcat-site": {
....
}
]
{code}
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:
{code}
"configurations": [
"core-site": {
"hadoop.proxyuser.${hive-env/hive_user}.groups":"${hadoop-env/proxyuser_group}"
},
"hive-site": {
.....
},
"webhcat-site": {
....
}
]
{code}
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}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)