[
https://issues.apache.org/jira/browse/KNOX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
J.Andreina updated KNOX-507:
----------------------------
Attachment: KNOX-507.1.patch
Attached a patch which has a check on Alias existence and if not returns an
error message to user on deletion
{noformat}
# ./knoxcli.sh delete-alias alias3 --cluster WEBHDFS
Deletion of Alias: alias3 from cluster: WEBHDFS Failed.
No such alias exists in the cluster.
{noformat}
> Deletion of Non existing Alias from a cluster should not be successful
> ----------------------------------------------------------------------
>
> Key: KNOX-507
> URL: https://issues.apache.org/jira/browse/KNOX-507
> Project: Apache Knox
> Issue Type: Bug
> Reporter: J.Andreina
> Attachments: KNOX-507.1.patch
>
>
> Deletion of Non existing Alias from a cluster returns successful .
> {noformat}
> # ./knoxcli.sh list-alias --cluster WEBHDFS
> Listing aliases for: WEBHDFS
> alias2
> alias1
> 2 items.
> # ./knoxcli.sh delete-alias alias3 --cluster WEBHDFS
> alias3 has been successfully deleted.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)