ambari-dev mailing list archives

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

Mime
View raw message