[
https://issues.apache.org/jira/browse/AMBARI-19430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822318#comment-15822318
]
Hadoop QA commented on AMBARI-19430:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12847382/AMBARI-19430_trunk_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 9 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-funtest ambari-server ambari-web.
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/10046//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/10046//console
This message is automatically generated.
> 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)