falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sowmya Ramesh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-810) When authorization is enabled - delete of non-existing entity throws error that is not helpful
Date Fri, 06 Mar 2015 18:20:39 GMT

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

Sowmya Ramesh commented on FALCON-810:
--------------------------------------

Tested this on latest Falcon with authorization enabled. Couldn't reproduce the issue. I think
was fixed with https://issues.apache.org/jira/browse/FALCON-916. Resolving the bug. 

> When authorization is enabled - delete of non-existing entity throws error that is not
helpful
> ----------------------------------------------------------------------------------------------
>
>                 Key: FALCON-810
>                 URL: https://issues.apache.org/jira/browse/FALCON-810
>             Project: Falcon
>          Issue Type: Bug
>          Components: webapp
>    Affects Versions: 0.6
>            Reporter: Balu Vellanki
>
> To reproduce, set "*.falcon.security.authorization.enabled=true" in startup.properties.
Then restart falcon and try to delete a non-existing entity.
> {code}
> [hrt_qa@falcon-balu-6-3 falcon]$ ./bin/falcon entity -type process -delete -name cleanseEmailProcess
> Stacktrace:
> org.apache.falcon.client.FalconCLIException: Internal Server Error;
> 	at org.apache.falcon.client.FalconCLIException.fromReponse(FalconCLIException.java:44)
> 	at org.apache.falcon.client.FalconClient.checkIfSuccessful(FalconClient.java:1181)
> 	at org.apache.falcon.client.FalconClient.sendEntityRequest(FalconClient.java:577)
> 	at org.apache.falcon.client.FalconClient.delete(FalconClient.java:305)
> 	at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:409)
> 	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:196)
> 	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:145)
> [hrt_qa@falcon-balu-6-3 falcon]$
> {code}
> The actual error can be found in falcon.application.log and it looks as follows.
> {code}
>  2014-10-15 20:06:41,071 WARN  - [330512910@qtp-88119371-0:] ~ /api/entities/delete/process/cleanseEmailProcess:
org.apache.hadoop.security.authorize.AuthorizationException: org.apache.falcon.entity.EntityNotRegisteredException:
cleanseEmailProcess (PROCESS) not found (log:76)
> {code}



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

Mime
View raw message