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

Hadoop QA commented on AMBARI-8853:
-----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12688613/AMBARI-8853_01.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-server.

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/1048//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/1048//console

This message is automatically generated.

> 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)

Reply via email to