You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/05/09 18:56:00 UTC

[jira] [Commented] (KNOX-1266) Support aliases for default discovery address and cluster name

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

ASF subversion and git services commented on KNOX-1266:
-------------------------------------------------------

Commit 4bdf635cedd6da93d2ea0b3a629749838f3b41ba in knox's branch refs/heads/master from [~pzampino]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=4bdf635 ]

KNOX-1266 - Support aliases for default discovery address and cluster name


> Support aliases for default discovery address and cluster name
> --------------------------------------------------------------
>
>                 Key: KNOX-1266
>                 URL: https://issues.apache.org/jira/browse/KNOX-1266
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1.0
>            Reporter: Phil Zampino
>            Assignee: Phil Zampino
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> Currently, service discovery requires 4 pieces of information to interact with Ambari to generate topologies from descriptors:
>  * discovery address
>  * discovery cluster
>  * discovery username
>  * discovery password alias
> At present, there are 2 well-known aliases, which serve to provide defaults if the corresponding details aren't specified in a descriptor:
>  * *ambari.discovery.user* - The value of this alias is the username for authenticating with the discovery source
>  * *ambari.discovery.password* - The value of this alias is the password corresponding to the discovery user
> This issue suggests that Knox could support aliases as defaults for the remaining 2 discovery properties:
>  * *ambari.discovery.address*
>  * *ambari.discovery.cluster*
> This would make it easier for users who are defining multiple descriptors for the same cluster. The discovery details could be omitted from the descriptors, such that the defaults defined as aliases would be used.
>  
> If these new aliases are defined, and the corresponding properties are not specified in a descriptor, the values of these aliases will be used as defaults.
> If either of these aliases is NOT defined, and is also unspecified in a descriptor, then discovery shall not be attempted.
> The Admin UI must also be addressed as part of this, since there is currently some validation to ensure that a sufficient amount of discovery information is specified in a new descriptor (if any is specified at all).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)