You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2013/09/11 23:04:55 UTC

[jira] [Commented] (FALCON-75) Falcon CLI for deleting entities should inform user if entity does not exist

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

Suresh Srinivas commented on FALCON-75:
---------------------------------------

[~sriksun], not sure if this behavior has anything to do with idempotency.

Generally failure conditions are idempotent, especially when an entity does not exist. So returning failure will be very useful. In fact command line also should return non-zero.

I am closing FALCON-111, which I created as duplicate of this.
                
> 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
>            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira