You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2015/02/18 14:05:11 UTC

[jira] [Commented] (KNOX-506) Creation of duplicate alias in a cluster returns successful.

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

Larry McCay commented on KNOX-506:
----------------------------------

Hi [~andreina] - Current behavior should be that adding an alias that already exists overrides the previous value. Changing this behavior may affect existing deployments where aliases are rolled to new values occasionally.

Have you observed the value not being overridden?
If that is the case then there is a bug in there.

> Creation of duplicate alias in a cluster returns successful.
> ------------------------------------------------------------
>
>                 Key: KNOX-506
>                 URL: https://issues.apache.org/jira/browse/KNOX-506
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: J.Andreina
>            Priority: Minor
>         Attachments: KNOX-506.1.patch
>
>
> Creation of duplicate alias in a cluster , returns successful message to the user.
> {noformat}
> # ./knoxcli.sh create-alias aliasname --cluster WEBHDFS --generate
> aliasname has been successfully generated.
> # ./knoxcli.sh list-alias --cluster WEBHDFS
> Listing aliases for: WEBHDFS
> aliasname1
> aliasname
> # ./knoxcli.sh create-alias aliasname --cluster WEBHDFS --generate
> aliasname has been successfully generated.
> {noformat}



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