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

Grant Liu updated FALCON-75:
----------------------------

    Description: 
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


  was:
CLI tends to fail when there is a trailing space. For instance:

bin/falcon entity -type feed -submit -file gliu/replicating-feed.xml 
Error: File not found:

The trailing space above after the .xml breaks parsing. Probably needs a trim 
for params or something



    
> 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

Reply via email to