falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pragya Mittal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1156) Misleading error message while deleting entity which is not submitted
Date Wed, 15 Apr 2015 12:59:59 GMT

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

Pragya Mittal updated FALCON-1156:
----------------------------------
    Description: 
While deleting any entity (cluster/feed/process) which does not exist, the response message
from server is entity removed successfully.
{code}
dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type process -list
(PROCESS) NewPrismProcessUpdateTest--agregator-coord16-1b95f577

dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type process -delete
-name pxyz
falcon/pxyz(process) removed successfully
prism/pxyz(process) doesn't exist. Nothing to do

dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type feed -list
(FEED) NewPrismProcessUpdateTest--raaw-logs16-fb861a10
(FEED) NewPrismProcessUpdateTest--agregated-logs16-a4b247a5

dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type feed -delete
-name fxyz
falcon/fxyz(feed) removed successfully
prism/fxyz(feed) doesn't exist. Nothing to do
{code}

  was:
While deleting any entity (cluster/feed/process) which is not present , the response message
is from server is entity removed successfully.
{code}
dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type process -list
(PROCESS) NewPrismProcessUpdateTest--agregator-coord16-1b95f577

dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type process -delete
-name pxyz
falcon/pxyz(process) removed successfully
prism/pxyz(process) doesn't exist. Nothing to do

dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type feed -list
(FEED) NewPrismProcessUpdateTest--raaw-logs16-fb861a10
(FEED) NewPrismProcessUpdateTest--agregated-logs16-a4b247a5

dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type feed -delete
-name fxyz
falcon/fxyz(feed) removed successfully
prism/fxyz(feed) doesn't exist. Nothing to do
{code}


> Misleading error message while deleting entity which is not submitted
> ---------------------------------------------------------------------
>
>                 Key: FALCON-1156
>                 URL: https://issues.apache.org/jira/browse/FALCON-1156
>             Project: Falcon
>          Issue Type: Bug
>          Components: feed, prism, process
>    Affects Versions: 0.6.1
>            Reporter: Pragya Mittal
>
> While deleting any entity (cluster/feed/process) which does not exist, the response message
from server is entity removed successfully.
> {code}
> dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type process
-list
> (PROCESS) NewPrismProcessUpdateTest--agregator-coord16-1b95f577
> dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type process
-delete -name pxyz
> falcon/pxyz(process) removed successfully
> prism/pxyz(process) doesn't exist. Nothing to do
> dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type feed
-list
> (FEED) NewPrismProcessUpdateTest--raaw-logs16-fb861a10
> (FEED) NewPrismProcessUpdateTest--agregated-logs16-a4b247a5
> dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type feed
-delete -name fxyz
> falcon/fxyz(feed) removed successfully
> prism/fxyz(feed) doesn't exist. Nothing to do
> {code}



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

Mime
View raw message