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

Hudson commented on AMBARI-19430:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #6490 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/6490/])
AMBARI-19430. Use common property for principal name prefix to help with 
(rlevas: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=87eef6e97cd3e39f928bf99cdd00079e2c89c6d6])
* (edit) 
ambari-server/src/test/resources/kerberos/test_kerberos_descriptor_2_1_3.json
* (edit) ambari-server/src/main/resources/stacks/PERF/1.0/kerberos.json
* (edit) 
contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/kerberos.json
* (edit) 
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.3.ECS/services/HBASE/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.3/services/ACCUMULO/kerberos.json
* (edit) ambari-web/test/utils/object_utils_test.js
* (edit) 
ambari-server/src/main/resources/common-services/SPARK/1.4.1/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/services/SNOW/kerberos.json
* (edit) 
ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/services/GRUMPY/kerberos.json
* (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.3.ECS/services/ECS/kerberos.json
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/KerberosHelperTest.java
* (edit) 
ambari-server/src/test/resources/stacks/HDP/2.0.8/services/HDFS/kerberos.json
* (edit) ambari-web/test/utils/config_test.js
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.5/services/HDFS/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.6/services/SPARK2/kerberos.json
* (edit) 
ambari-funtest/src/test/resources/stacks/HDP/2.0.8/services/HDFS/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/ACCUMULO/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.6/services/SPARK/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/services/SLEEPY/kerberos.json
* (edit) 
ambari-server/src/main/resources/common-services/SPARK2/2.0.0/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.5/services/HBASE/kerberos.json
* (edit) 
ambari-server/src/test/resources/kerberos/test_kerberos_descriptor_no_hdfs.json
* (edit) 
ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/kerberos.json
* (edit) 
ambari-server/src/main/resources/common-services/STORM/1.0.1/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/kerberos.json
* (edit) 
ambari-server/src/test/resources/kerberos/test_kerberos_descriptor_simple.json
* (edit) ambari-server/src/main/resources/stacks/HDP/3.0/kerberos.json
* (edit) 
ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/kerberos.json
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/state/kerberos/KerberosDescriptorUpdateHelperTest.java
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/services/HAPPY/kerberos.json
* (edit) 
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/kerberos.json
* (edit) 
ambari-server/src/main/resources/common-services/SPARK/1.2.1/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/kerberos.json
* (edit) 
ambari-server/src/main/resources/common-services/STORM/0.9.1/kerberos.json


> Use common property for principal name prefix to help with customization of 
> unique principal names
> --------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-19430
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19430
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: kerberos, kerberos_descriptor
>         Attachments: AMBARI-19430_branch-2.5_01.patch, 
> AMBARI-19430_trunk_01.patch
>
>
> Use common property for principal name prefix to help with customization of 
> unique principal names.  
> All _headless_ Kerberos identities have a non-unique principal name (across 
> clusters). To help this issue, the cluster name is appended to these 
> principal names by adding "-$\{cluster-name|toLower()\}" after the principal 
> name component. If the user wants to change this convention, they will need 
> to find all _headless_ principals and make the change. On top of that, when 
> adding new components, they will need to remember to make the change to new 
> _headless_ principal names. 
> A better solution is to provide a _global_ property named "principal_suffix" 
> and use that in each _headless_ principal name. By default the value for this 
> property will be
> {code}
> principal_suffix="-${cluster_name|toLower()}"
> {code}
> If the user would like not use a prefix (in the event there is only a single 
> cluster connecting to the KDC), the value can be changed to
> {code}
> principal_suffix=""
> {code}
> Finally if the user would like to use some other randomizer, they can set the 
> value to something else. For example
> {code}
> principal_suffix="_12345"
> {code}
> The property is set in the Kerberos descriptor's "properties" block.   For 
> example:
> {code}
> {
>   "properties": {
>     "realm": "${kerberos-env/realm}",
>     ...,
>     "principal_suffix": "${cluster_name|toLower()}"
>   },
>   "identities": [
>     ..., 
>     {
>       "name": "smokeuser",
>       "principal": {
>         "value": "${cluster-env/smokeuser}-${principal_suffix}@${realm}",
>         "type": "user",
>         "configuration": "cluster-env/smokeuser_principal_name",
>         "local_username": "${cluster-env/smokeuser}"
>       },
>       ...
>     }
>   ],
>   "services": [
>     {
> {code} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to