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

Ajay Yadava commented on FALCON-75:
-----------------------------------

I intend to change the response message to a more helpful one in this case. 
Delete operation will still be "successful" even in the case when entity 
doesn't exist but the response message will inform the user that the entity 
doesn't exist.

> Falcon CLI for deleting entities should inform user if entity does not exist
> ----------------------------------------------------------------------------
>
>                 Key: FALCON-75
>                 URL: https://issues.apache.org/jira/browse/FALCON-75
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Grant Liu
>            Assignee: Ajay Yadava
>            Priority: Minor
>
> If you delete an entity that does not exist (key/handle is wrong) it tells 
> you it was successful. The system should mention that the entity is not 
> found/does not exist. It's misleading otherwise:
> [root@cos6-07 falcon-0.3-incubating]#bin/falcon entity -type cluster -delete 
> -name secondary-clusterblah
> falcon/secondary-clusterblah(cluster) removed successfully



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

Reply via email to