[ 
https://issues.apache.org/jira/browse/KNOX-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

J.Andreina updated KNOX-506:
----------------------------
    Attachment: KNOX-506.1.patch

Updated a patch with a check on existence of alias in the cluster . If exist 
then a message will be prompted to the user as below.

{noformat}
# ./knoxcli.sh create-alias aliasname1 --cluster WEBHDFS --generate
Alias: aliasname already exist in cluster: WEBHDFS
{noformat}

Please review the patch.


> 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)

Reply via email to