ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8853) Configuration keys in Kerberos descriptors should allow for variable replacement
Date Mon, 22 Dec 2014 20:44:13 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-8853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14256177#comment-14256177
] 

Hudson commented on AMBARI-8853:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1301 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1301/])
AMBARI-8853. Configuration keys in Kerberos descriptors should allow for variable replacement.
(robert levas via jaimin) (jaimin: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f9014f604e0ae60ee93d8c4cc4805573063bb095)
* ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelper.java
* ambari-server/src/test/java/org/apache/ambari/server/state/kerberos/KerberosDescriptorTest.java


> 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
>              Labels: kerberos, kerberos_descriptor
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8853_01.patch
>
>
> 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)

Mime
View raw message